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 Wdgj_SaleOrder { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Wdgj_SaleOrder() { Wdgj_SaleOrderList = new HashSet(); } [Key] public long OrderRelation_Id { get; set; } public int? Consignor_Id { get; set; } [StringLength(50)] public string ConsignorCode { get; set; } [StringLength(150)] public string ConsignorName { get; set; } public int? StoreInfo_Id { get; set; } [Required] [StringLength(500)] public string StoreName { get; set; } public long Order_Id { get; set; } [Required] [StringLength(50)] public string OrderCode { get; set; } public long? TradeID { get; set; } public DateTime? RegTime { get; set; } public DateTime? TradeTime { get; set; } [StringLength(50)] public string TradeStatus { get; set; } [StringLength(50)] public string TradeNO { get; set; } [StringLength(50)] public string ShopID { get; set; } [StringLength(50)] public string Seller { get; set; } [StringLength(50)] public string TradeType { get; set; } public int? CustomerID { get; set; } [StringLength(50)] public string CustomerName { get; set; } [StringLength(50)] public string SndTo { get; set; } [StringLength(50)] public string Country { get; set; } [StringLength(50)] public string Province { get; set; } [StringLength(50)] public string City { get; set; } [StringLength(50)] public string Town { get; set; } [StringLength(200)] public string Adr { get; set; } [StringLength(50)] public string Zip { get; set; } [StringLength(200)] public string Tel { get; set; } [StringLength(50)] public string RegOperator { get; set; } public DateTime? ConfirmTime { get; set; } [StringLength(50)] public string ConfirmOperator { get; set; } [StringLength(50)] public string PrintSndBill { get; set; } [StringLength(50)] public string PrintExpress { get; set; } [StringLength(50)] public string Picker { get; set; } [StringLength(50)] public string CHKOperator { get; set; } public DateTime? CHKTime { get; set; } [StringLength(50)] public string PackageOperator { get; set; } public DateTime? SndTime { get; set; } [StringLength(50)] public string SndOperator { get; set; } public decimal? GoodsWeight { get; set; } public decimal? PackagedWeight { get; set; } [StringLength(200)] public string CustomerRemark { get; set; } public int? LogisticID { get; set; } public int? PackageID { get; set; } public decimal? Postage { get; set; } [StringLength(50)] public string PostID { get; set; } [StringLength(50)] public string ChargeType { get; set; } [StringLength(50)] public string chargeid { get; set; } public int? AccountID { get; set; } [Column(TypeName = "money")] public decimal? otherCost { get; set; } [Column(TypeName = "money")] public decimal? GoodsTotal { get; set; } [Column(TypeName = "money")] public decimal? PostageTotal { get; set; } [Column(TypeName = "money")] public decimal? TaxValue { get; set; } [Column(TypeName = "money")] public decimal? CouponValue { get; set; } [Column(TypeName = "money")] public decimal? FavourableTotal { get; set; } [Column(TypeName = "money")] public decimal? AllTotal { get; set; } [Column(TypeName = "money")] public decimal? RcvTotal { get; set; } [StringLength(50)] public string CurrencyType { get; set; } public decimal? CurrencyRate { get; set; } [Column(TypeName = "money")] public decimal? GoodsCost { get; set; } [Column(TypeName = "money")] public decimal? PackageCost { get; set; } [Column(TypeName = "money")] public decimal? TotalProfit { get; set; } [StringLength(50)] public string PriceSpec { get; set; } [Column(TypeName = "money")] public decimal? PriceDis { get; set; } [StringLength(200)] public string GoodsList { get; set; } public int? TradeFlagID { get; set; } [Column(TypeName = "money")] public decimal? DrawbackValue { get; set; } [StringLength(50)] public string OtherGoods { get; set; } [Column(TypeName = "money")] public decimal? CommissionValue { get; set; } public int? WareHouseID { get; set; } public int? PrintCollect { get; set; } public int? PrintPos { get; set; } public int? PrintChannel { get; set; } public DateTime? PreDate { get; set; } [StringLength(50)] public string PreType { get; set; } public byte? bStockOut { get; set; } public byte? bManualCHK { get; set; } [StringLength(200)] public string AppendRemark { get; set; } public byte? bInvoice { get; set; } [StringLength(50)] public string PrintInvoice { get; set; } public decimal? estimateWeight { get; set; } [StringLength(100)] public string InvoiceTitle { get; set; } [StringLength(50)] public string RMB_Value { get; set; } public int? ProviderID { get; set; } [StringLength(50)] public string ChargeOperator { get; set; } [StringLength(50)] public string FreezeReason { get; set; } [StringLength(50)] public string CancelReason { get; set; } public byte? bSellBack { get; set; } [StringLength(50)] public string TradeFrom { get; set; } [StringLength(50)] public string TradeNO2 { get; set; } public byte? bSndSys { get; set; } [Column(TypeName = "money")] public decimal? PostageFee2 { get; set; } [StringLength(50)] public string Reserved1 { get; set; } [StringLength(50)] public string Reserved2 { get; set; } [StringLength(50)] public string Reserved3 { get; set; } [StringLength(50)] public string Reserved4 { get; set; } [StringLength(50)] public string PrintCHK { get; set; } [StringLength(50)] public string FXTid { get; set; } [StringLength(50)] public string TradeNick { get; set; } [StringLength(50)] public string Printer { get; set; } public int? CHKChannel { get; set; } [StringLength(50)] public string TroubleClass { get; set; } public int? SourceTradeID { get; set; } [StringLength(50)] public string LogisticArea { get; set; } public byte? bExecuteSell { get; set; } public byte? bInvoiceMade { get; set; } [StringLength(50)] public string InvoiceNO { get; set; } [StringLength(50)] public string OriginCode { get; set; } [StringLength(50)] public string DestCode { get; set; } public int? FilterResult { get; set; } [StringLength(50)] public string FilterRemark { get; set; } [Column(TypeName = "money")] public decimal? InsureValue { get; set; } public int? bWmsPost { 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 string ExpandFields { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Wdgj_SaleOrderList { get; set; } } }