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 Purchase_OrderList { [Key] public int OrderList_Id { get; set; } public int? Order_Id { get; set; } public int? SourceType { get; set; } public int? SourceMainID { get; set; } public int? SourceListID { get; set; } public long Product_Id { get; set; } [Required] [StringLength(50)] public string ProductCode { get; set; } [StringLength(500)] public string ProductName { get; set; } [Required] [StringLength(300)] public string ProductModel { get; set; } public string ProductSpec { get; set; } [StringLength(500)] public string URL { get; set; } [StringLength(50)] public string SmallUnit { get; set; } [StringLength(50)] public string BigUnit { get; set; } public decimal? Quantity { get; set; } public decimal? UnitConvert { get; set; } [StringLength(50)] public string UnitConvertText { 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; } [Column(TypeName = "money")] public decimal? TaxAmount { get; set; } public decimal? EnterQuantity { get; set; } public decimal? ReturnQuantity { get; set; } public byte? Enable { 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; } public byte? CustomProduct { get; set; } [StringLength(800)] public string AppendParameter { get; set; } [StringLength(50)] public string SingleSignCode { get; set; } public string FromOrderIds { get; set; } public DateTime? DeliveryDate { get; set; } [StringLength(500)] public string SpecAlias { get; set; } [StringLength(500)] public string ProductBarCode { 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 long? SourceId { get; set; } [StringLength(150)] public string DeclareNo { get; set; } public decimal? shelfLifeDay { get; set; } public decimal? Overcharges { get; set; } public DateTime? NoReceivingDate { get; set; } public DateTime? LimitDate { get; set; } [Column(TypeName = "money")] public decimal? MarketPrice { get; set; } [Column(TypeName = "money")] public decimal? DiscountRate { get; set; } public decimal? Weight { get; set; } public decimal? TotalWeight { get; set; } public decimal? BigQty { 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; } [StringLength(50)] public string OriginPlace { get; set; } public decimal? TotalPackageQty { get; set; } public decimal? PaiQty { get; set; } public string UnitPackage { get; set; } public string ExpandFields { get; set; } [StringLength(500)] public string Images { get; set; } [StringLength(50)] public string PlateType { get; set; } public decimal? ValidQty { get; set; } public virtual Purchase_Order Purchase_Order { get; set; } } }