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 Sale_OrderPlanDetail { [Key] public int OrderDetail_Id { get; set; } public int OrderPlan_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; } [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? SalePrice { get; set; } [Column(TypeName = "money")] public decimal? SaleMoney { 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 decimal? CompleteQuantity { get; set; } public decimal? SurplusQuantity { get; set; } public decimal? LastQuantity { get; set; } public string ProductSpec { 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 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? weight { get; set; } public decimal? totalWeight { get; set; } public int? Storage_Id { get; set; } [StringLength(50)] public string StorageName { get; set; } [StringLength(500)] public string ContainerNo { get; set; } public int? ValidQuantity { get; set; } [StringLength(50)] public string Senderprov { get; set; } [StringLength(50)] public string Sendercity { get; set; } [StringLength(50)] public string Sendercounty { get; set; } [StringLength(50)] public string Senderaddress { get; set; } [StringLength(50)] public string Sendercompany { get; set; } [StringLength(50)] public string Sendermobile { get; set; } [StringLength(100)] public string OriginPlace { get; set; } [Column(TypeName = "date")] public DateTime? ProduceDate { get; set; } [StringLength(300)] public string SingleSignCode { get; set; } [StringLength(300)] public string PositionName { get; set; } [StringLength(100)] public string BatchNumber { get; set; } public string ExpandFields { get; set; } public int? Destination_Id { get; set; } [StringLength(50)] public string DestinationName { get; set; } [StringLength(50)] public string MakeRoute { get; set; } public virtual Sale_OrderPlan Sale_OrderPlan { get; set; } } }