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_CheckList { [Key] public int CheckList_Id { get; set; } public int Check_Id { get; set; } public long Product_Id { get; set; } [Required] [StringLength(50)] public string ProductCode { get; set; } [Required] [StringLength(500)] public string ProductName { get; set; } [Required] [StringLength(300)] public string ProductModel { get; set; } public string ProductSpec { get; set; } [StringLength(50)] public string SmallUnit { get; set; } [StringLength(50)] public string BigUnit { get; set; } public decimal? UnitConvert { get; set; } [StringLength(50)] public string UnitConvertText { get; set; } [Required] [StringLength(50)] public string PositionName { get; set; } public int? ProductStorage { get; set; } [Column(TypeName = "money")] public decimal? PurchasePrice { get; set; } [Column(TypeName = "money")] public decimal? PurchaseMoney { get; set; } public decimal? CheckQuantity { get; set; } public decimal? ProfitQuantity { get; set; } [Column(TypeName = "money")] public decimal? ProfitMoney { get; set; } public decimal? LossQuantity { get; set; } [Column(TypeName = "money")] public decimal? LossMoney { get; set; } public int? LackStorage { 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; } [StringLength(50)] public string BatchNumber { get; set; } [StringLength(50)] public string PlateCode { get; set; } [StringLength(50)] public string RelationCode { get; set; } public int? ProfitLossList_Id { get; set; } public int? ProfitLoss_Id { get; set; } public int? FromCheckList_Id { get; set; } public int? FromCheck_Id { get; set; } public DateTime? ProduceDate { get; set; } public DateTime? LimitDate { get; set; } public decimal? Weight { get; set; } public decimal? TotalWeight { get; set; } public DateTime? InStorageDate { get; set; } [StringLength(50)] public string OriginPlace { get; set; } [StringLength(50)] public string ContainerNo { get; set; } public decimal? ProfitWeight { get; set; } public string ExpandFields { get; set; } public virtual Storage_Check Storage_Check { get; set; } } }