namespace WMSPatch.EF { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class Base_ProductPosition { [Key] public long ProductPosition_Id { get; set; } [Required] [StringLength(50)] public string ClassName { get; set; } [StringLength(50)] public string BillCode { get; set; } public int Storage_Id { get; set; } [Required] [StringLength(50)] public string StorageName { get; set; } [Required] [StringLength(50)] public string PositionName { 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 decimal? ProductStorage { get; set; } public decimal? OrignStorage { get; set; } public DateTime InStorageDate { get; set; } [StringLength(50)] public string PlateType { get; set; } public int Consignor_Id { get; set; } [Required] [StringLength(50)] public string ConsignorCode { get; set; } [Required] [StringLength(150)] public string ConsignorName { get; set; } [StringLength(50)] public string SingleSignCode { get; set; } public decimal? DynamicWeight { get; set; } public int MainID { get; set; } public int DetailID { get; set; } public int? Provider_Id { get; set; } [StringLength(50)] public string ProviderCode { get; set; } [StringLength(50)] public string ProviderShortName { get; set; } [Column(TypeName = "money")] public decimal? PurchasePrice { get; set; } [Column(TypeName = "money")] public decimal? PurchaseMoney { get; set; } [Column(TypeName = "money")] public decimal? Rate { get; set; } [Column(TypeName = "money")] public decimal? RatePrice { get; set; } [Column(TypeName = "money")] public decimal? RateMoney { get; set; } public string ProductSpec { get; set; } [Column(TypeName = "money")] public decimal? AvgPrice { get; set; } public string Remark { get; set; } public int? CreateID { get; set; } [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; } [StringLength(50)] public string EnterCode { get; set; } [StringLength(50)] public string OrderCode { get; set; } public int Class_Id { get; set; } [StringLength(50)] public string BatchNumber { get; set; } public DateTime? ProduceDate { get; set; } [StringLength(50)] public string PlateCode { get; set; } [StringLength(50)] public string RelationCode { get; set; } public int? ShelfLifeDay { get; set; } public DateTime? ShelfLifeDate { get; set; } public int? ValidShelfLifeDay { get; set; } [StringLength(50)] public string StorageStatus { get; set; } [StringLength(50)] public string ProductAttribute { get; set; } [StringLength(150)] public string DeclareNo { get; set; } public DateTime? LimitDate { get; set; } [StringLength(50)] public string AreaCode { get; set; } [StringLength(300)] public string ExtendField01 { get; set; } [StringLength(300)] public string ExtendField02 { get; set; } [StringLength(300)] public string ExtendField03 { get; set; } [StringLength(300)] public string ExtendField04 { get; set; } [StringLength(300)] public string ExtendField05 { get; set; } [StringLength(300)] public string ExtendField06 { get; set; } [StringLength(300)] public string ExtendField07 { get; set; } [StringLength(300)] public string ExtendField08 { get; set; } [StringLength(300)] public string ExtendField09 { get; set; } [StringLength(300)] public string ExtendField10 { get; set; } public decimal? Weight { get; set; } public decimal? TotalWeight { get; set; } public decimal? TotalWeightOrign { get; set; } [StringLength(50)] public string OriginPlace { get; set; } [StringLength(50)] public string ContainerNo { get; set; } public string ExpandFields { get; set; } public string DetailExpandFields { get; set; } [StringLength(50)] public string PartStatus { 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; } [StringLength(50)] public string PlateTypeCode { get; set; } } }