namespace wcftest.orm { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class ExpressCK1_Package { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public ExpressCK1_Package() { ExpressCK1_Product = new HashSet(); } [Key] public int CK1Package_Id { get; set; } public long Order_Id { get; set; } [Required] [StringLength(50)] public string OrderCode { get; set; } public byte? InterfaceStatusID { get; set; } [StringLength(50)] public string InterfaceStatusText { get; set; } [StringLength(50)] public string OrderSign { get; set; } [StringLength(50)] public string ItemSign { get; set; } [StringLength(50)] public string TrackingCode { get; set; } [StringLength(200)] public string Custom { get; set; } [Required] [StringLength(50)] public string ExpressType { get; set; } [StringLength(50)] public string Location { get; set; } [StringLength(50)] public string Point4Delivery { get; set; } [Required] [StringLength(50)] public string Contact { get; set; } [StringLength(200)] public string Street1 { get; set; } [StringLength(500)] public string Street2 { get; set; } [StringLength(50)] public string City { get; set; } [StringLength(50)] public string Province { get; set; } [StringLength(50)] public string Country { get; set; } [Required] [StringLength(20)] public string PostCode { get; set; } [StringLength(100)] public string Phone { get; set; } [StringLength(100)] public string Email { get; set; } public decimal Length { get; set; } public decimal Width { get; set; } public decimal Height { get; set; } public decimal? Weight { get; set; } [StringLength(50)] public string Status { get; set; } [StringLength(50)] public string ClientPackageId { get; set; } [StringLength(50)] public string Remark { get; set; } public int? CreateID { get; set; } [StringLength(50)] public string Creator { get; set; } public DateTime? CreateDate { get; set; } public int? ModifyID { get; set; } [StringLength(50)] public string Modifier { get; set; } public DateTime? ModifyDate { get; set; } public int? PlatUser_Id { get; set; } [StringLength(50)] public string PlatUserCode { get; set; } [StringLength(50)] public string PlatUserName { get; set; } [StringLength(50)] public string PlatCorpName { get; set; } public int? UserProduct_Id { get; set; } [StringLength(50)] public string UserProductCode { get; set; } [StringLength(100)] public string UserProductAlias { get; set; } public string ExpandFields { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ExpressCK1_Product { get; set; } } }