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 Sale_Retail { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Sale_Retail() { Sale_RetailList = new HashSet(); } [Key] public int Retail_Id { get; set; } [StringLength(50)] public string RetailCode { get; set; } public int Storage_Id { get; set; } [StringLength(50)] public string StorageName { get; set; } public int User_Id { get; set; } [Required] [StringLength(50)] public string UserTrueName { get; set; } public int? Dept_Id { get; set; } [StringLength(50)] public string DeptName { get; set; } public DateTime? ApplyDate { get; set; } public DateTime? PayLimitDate { get; set; } public int? Client_Id { get; set; } [StringLength(50)] public string ClientCode { get; set; } [StringLength(50)] public string ClientShortName { get; set; } public DateTime? DeliveryDate { get; set; } [StringLength(50)] public string Waybill { get; set; } public int? Express_Id { get; set; } [StringLength(50)] public string ExpressName { get; set; } public int? MaterialCount { get; set; } public byte? Package { get; set; } public byte? Status { get; set; } [StringLength(50)] public string Auditor { get; set; } public byte? Auditing { get; set; } public DateTime? AuditDate { get; set; } public string Remark { get; set; } public int CreateID { get; set; } [Required] [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; } [StringLength(50)] public string DeleteBy { get; set; } public byte? Enable { get; set; } public string ExpandFields { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Sale_RetailList { get; set; } } }