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 Base_ProductInfo_Storage { [Key] public int DataId { get; set; } public int Storage_Id { get; set; } [StringLength(50)] public string StorageName { 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 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; } public int? ProductStorage { get; set; } public int? PlaceholderStorage { get; set; } public int? DamagedStorage { get; set; } public int? ValidQuantity { get; set; } public int? TransitStorage { get; set; } public int? DestineStorage { get; set; } public int? AllocateTransitStorage { get; set; } public int? AllocateDestineStorage { get; set; } [Column(TypeName = "money")] public decimal? PurchasePrice { get; set; } [Column(TypeName = "money")] public decimal? SalePrice { get; set; } [Column(TypeName = "money")] public decimal? DayPrice { get; set; } [Column(TypeName = "money")] public decimal? VipPrice { get; set; } [Column(TypeName = "money")] public decimal? ActivityPrice { get; set; } [Column(TypeName = "money")] public decimal? DamagedPurchasePrice { get; set; } [Column(TypeName = "money")] public decimal? DamagedPurchaseMoney { get; set; } [Column(TypeName = "money")] public decimal? PurchaseMoney { get; set; } [Column(TypeName = "money")] public decimal? SaleMoney { get; set; } public int? AdvicePurchaseQuantity { get; set; } public int? AdviceAllocateQuantity { get; set; } public int? StorageUpper { get; set; } public int? StorageLower { get; set; } [Column(TypeName = "money")] public decimal? RatePrice { get; set; } [Column(TypeName = "money")] public decimal? RateMoney { get; set; } public int? Cycle { get; set; } public int? FirstWeekSaleQuantity { get; set; } public int? SecondWeekSaleQuantity { get; set; } public int? ThirdWeekSaleQuantity { get; set; } public int? FourthWeekSaleQuantity { get; set; } public int? MonthSaleQuantity { get; set; } public int? PromotQuantity { 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; } [StringLength(50)] public string BatchNumber { get; set; } public DateTime? ProduceDate { get; set; } [StringLength(50)] public string RelationCode { get; set; } public byte? IsCreateReplenishment { get; set; } public string ExpandFields { get; set; } } }