| 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_OuterList | 
|     { | 
|         [Key] | 
|         public long OuterList_Id { get; set; } | 
|   | 
|         public long Outer_Id { get; set; } | 
|   | 
|         public long? Order_Id { get; set; } | 
|   | 
|         public long? OrderList_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? ReturnQuantity { 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? OriginalPrice { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? TaxAmount { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? DiscountAmount { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? SubTotal { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? RowTotal { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? Rate { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? RatePrice { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? RateAmount { get; set; } | 
|   | 
|         public int? LackStorage { 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(50)] | 
|         public string BatchNumber { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string OrderCode { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string CaseNumber { 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 string ExpandFields { get; set; } | 
|   | 
|         public byte? SortingStatus { get; set; } | 
|   | 
|         public decimal? CompleteQuantity { get; set; } | 
|   | 
|         public decimal? Quantity { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string PoCode { get; set; } | 
|   | 
|         [StringLength(250)] | 
|         public string TrackingNumber { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string PlateCode { get; set; } | 
|   | 
|         public virtual Sale_Outer Sale_Outer { get; set; } | 
|     } | 
| } |