| namespace siemensSapService.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_OrderList | 
|     { | 
|         [Key] | 
|         public long OrderList_Id { get; set; } | 
|   | 
|         public long Order_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? QuantityOrder { get; set; } | 
|   | 
|         public int? QuantityCanceled { get; set; } | 
|   | 
|         public int? QuantityInvoiced { get; set; } | 
|   | 
|         public decimal? QuantityRefunded { get; set; } | 
|   | 
|         public decimal? QuantityOuted { get; set; } | 
|   | 
|         public decimal? QuantityShipped { get; set; } | 
|   | 
|         public decimal? Weight { 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? BaseSalePrice { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? BaseOriginalPrice { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? BaseTaxAmount { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? BaseTaxInvoiced { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? BaseDiscountAmount { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? BaseDiscountInvoiced { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? BaseAmountRefunded { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? BaseSubTotal { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? BaseRowTotal { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? BaseRowInvoiced { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? BaseTaxBeforeDiscount { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? Rate { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? BaseRatePrice { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? BaseRateMoney { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? TaxBeforeDiscount { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? SalePrice { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? SalePriceDiscount { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? OriginalPrice { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? TaxAmount { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? TaxInvoiced { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? DiscountAmount { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? DiscountInvoiced { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? AmountRefunded { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? SubTotal { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? RowTotal { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? RowInvoiced { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? RatePrice { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? RateMoney { get; set; } | 
|   | 
|         public decimal? LackStorage { get; set; } | 
|   | 
|         public byte? SortingStatus { get; set; } | 
|   | 
|         public int? PurchaseStorage { 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; } | 
|   | 
|         [StringLength(150)] | 
|         public string StoreOrderId { get; set; } | 
|   | 
|         [StringLength(150)] | 
|         public string StoreItemId { get; set; } | 
|   | 
|         [StringLength(150)] | 
|         public string PurchaseOrderCode { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string QualityType { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string StandardTime { get; set; } | 
|   | 
|         public int? IsSaleQuotation { get; set; } | 
|   | 
|         public long? FromOrderList_Id { get; set; } | 
|   | 
|         public DateTime? DeliveryDate { get; set; } | 
|   | 
|         public decimal? DiscountRate { get; set; } | 
|   | 
|         public decimal? ShippingAmount { get; set; } | 
|   | 
|         public decimal? RowPaid { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string BatchNumber { get; set; } | 
|   | 
|         public long? SourceId { get; set; } | 
|   | 
|         public byte? IsCreateReplenishment { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? AttachAmount { get; set; } | 
|   | 
|         public decimal? BatchQuantity { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string ConsignorCode { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string ConsignorName { get; set; } | 
|   | 
|         public int? Consignor_Id { get; set; } | 
|   | 
|         public decimal? RowWeight { get; set; } | 
|   | 
|         public DateTime? ProduceDate { 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? TotalWeight { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string PackageName { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string NumberOfGiftBags { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string ContainerNo { get; set; } | 
|   | 
|         public decimal? ValidQuantity { get; set; } | 
|   | 
|         [StringLength(100)] | 
|         public string PositionName { get; set; } | 
|   | 
|         [StringLength(100)] | 
|         public string OriginPlace { get; set; } | 
|   | 
|         public string ExpandFields { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string PlateType { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string PlateCode { get; set; } | 
|   | 
|         public decimal? PlanQty { get; set; } | 
|   | 
|         [StringLength(250)] | 
|         public string TrackingNumber { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string AreaCode { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string SaleCode { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string StoreOrderCode { get; set; } | 
|   | 
|         public virtual Sale_Order Sale_Order { get; set; } | 
|     } | 
| } |