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_ProfitLoss { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Storage_ProfitLoss() { Storage_ProfitLossList = new HashSet(); } [Key] public int ProfitLoss_Id { get; set; } [Required] [StringLength(50)] public string ProfitLossCode { 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? Check_Id { get; set; } [StringLength(50)] public string CheckCode { get; set; } public int Storage_Id { get; set; } [Required] [StringLength(50)] public string StorageName { get; set; } public int? Consignor_Id { get; set; } [StringLength(50)] public string ConsignorCode { get; set; } [StringLength(150)] public string ConsignorName { get; set; } public int User_Id { get; set; } [Required] [StringLength(50)] public string UserTrueName { get; set; } public DateTime? ApplyDate { get; set; } [StringLength(50)] public string StatusText { get; set; } public int? Dept_Id { get; set; } [StringLength(50)] public string DeptName { get; set; } public int? TotalProductStorage { get; set; } [Column(TypeName = "money")] public decimal? TotalPurchaseMoney { get; set; } public decimal? TotalCheckQuantity { get; set; } public decimal? TotalProfitQuantity { get; set; } [Column(TypeName = "money")] public decimal? TotalProfitMoney { get; set; } public int? TotalLossQuantity { get; set; } [Column(TypeName = "money")] public decimal? TotalLossMoney { 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; } [StringLength(50)] public string AuditRemark { 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 decimal? TotalWeight { get; set; } public string ExpandFields { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Storage_ProfitLossList { get; set; } } }