| 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 Storage_Loss | 
|     { | 
|         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] | 
|         public Storage_Loss() | 
|         { | 
|             Storage_LossList = new HashSet<Storage_LossList>(); | 
|         } | 
|   | 
|         [Key] | 
|         public int Loss_Id { get; set; } | 
|   | 
|         [Required] | 
|         [StringLength(50)] | 
|         public string LossCode { 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 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 int Storage_Id { get; set; } | 
|   | 
|         [Required] | 
|         [StringLength(50)] | 
|         public string StorageName { get; set; } | 
|   | 
|         public int? TotalProductStorage { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? TotalPurchaseMoney { get; set; } | 
|   | 
|         public int? TotalCheckQuantity { get; set; } | 
|   | 
|         public int? TotalLossQuantity { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? TotalLossMoney { get; set; } | 
|   | 
|         public byte? StatusID { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string StatusText { get; set; } | 
|   | 
|         public DateTime? SortingDate { get; set; } | 
|   | 
|         public byte? SortingStatus { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string Auditor { get; set; } | 
|   | 
|         public byte? Auditing { get; set; } | 
|   | 
|         public DateTime? AuditDate { get; set; } | 
|   | 
|         public byte? Enable { 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; } | 
|   | 
|         public int? Consignor_Id { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string ConsignorCode { get; set; } | 
|   | 
|         [StringLength(150)] | 
|         public string ConsignorName { get; set; } | 
|   | 
|         public string ExpandFields { get; set; } | 
|   | 
|         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] | 
|         public virtual ICollection<Storage_LossList> Storage_LossList { get; set; } | 
|     } | 
| } |