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 TMS_DistributionDetail { [Key] public int DistributionDetail_Id { get; set; } public int? Distribution_Id { get; set; } public int? WayBill_Id { get; set; } [StringLength(50)] public string WayBillCode { get; set; } public int? Consignor_Id { get; set; } [StringLength(50)] public string ConsignorCode { get; set; } [StringLength(50)] public string ConsignorName { get; set; } public int? Port_Id { get; set; } [StringLength(50)] public string PortName { get; set; } public int? ExpressCorp_Id { get; set; } [StringLength(50)] public string ExpressCorpType { get; set; } [StringLength(50)] public string ExpressCorpName { get; set; } [StringLength(50)] public string ExpressCode { get; set; } public int? Voyage_Id { get; set; } [StringLength(50)] public string VoyageCode { get; set; } [StringLength(50)] public string PlateCode { get; set; } public decimal? Weight { get; set; } [StringLength(50)] public string Unit { get; set; } public int? TotalQuantityOrder { get; set; } public decimal? GrandTotal { get; set; } public int? Storage_Id { get; set; } [StringLength(50)] public string StorageName { get; set; } [StringLength(50)] public string OrderType { get; set; } [StringLength(50)] public string OrderStatus { get; set; } [StringLength(50)] public string PrintStatus { get; set; } [StringLength(50)] public string BillingName { get; set; } [StringLength(50)] public string BillingMobile { get; set; } [StringLength(50)] public string BillingAddress { get; set; } [StringLength(50)] public string ConsigneeMobile { get; set; } [StringLength(50)] public string ConsigneeIdcard { get; set; } [StringLength(50)] public string ConsigneePostCode { get; set; } public int? Province_Id { get; set; } [StringLength(50)] public string ProvinceName { get; set; } public int? City_Id { get; set; } [StringLength(50)] public string CityName { get; set; } public int? Region_Id { get; set; } [StringLength(50)] public string RegionName { get; set; } [StringLength(3500)] public string Street { get; set; } [StringLength(50)] public string CollectName { get; set; } [StringLength(50)] public string CollectMobile { get; set; } [StringLength(50)] public string CollectStore { get; set; } public DateTime? CollectDate { get; set; } [StringLength(50)] public string ScanFile { get; set; } [StringLength(50)] public string PlanDropOffPort { get; set; } [StringLength(50)] public string ActualDropOffPort { get; set; } [StringLength(50)] public string ActualWeight { get; set; } [StringLength(50)] public string GroupBoard { get; set; } public int? User_Id { get; set; } [StringLength(50)] public string UserTrueName { get; set; } [StringLength(50)] public string Auditor { get; set; } public DateTime? AuditDate { get; set; } public string AuditRemark { get; set; } [StringLength(50)] public string PlatUserCode { get; set; } [StringLength(50)] public string PlatUserName { get; set; } [StringLength(50)] public string PlatCorpName { get; set; } [StringLength(50)] public string UserProductCode { get; set; } [StringLength(100)] public string UserProductAlias { get; set; } public int? IsStoreMate { get; set; } [StringLength(50)] public string PanelWay { get; set; } [StringLength(500)] public string AbnormalReason { get; set; } [StringLength(50)] public string CollectStatus { get; set; } [StringLength(50)] public string IDCardStatus { get; set; } public decimal? GrossWeight { get; set; } public DateTime? AbnormalDate { get; set; } public int? PrintNum { get; set; } [StringLength(50)] public string MakeWay { get; set; } [StringLength(500)] public string ReturnImageUrl { get; set; } public DateTime? GroupBoardDate { get; set; } [StringLength(150)] public string BigPen { get; set; } public int? ApiSendCount { get; set; } [StringLength(50)] public string ProductLine { get; set; } [StringLength(50)] public string CustomerOrderNo { get; set; } [StringLength(50)] public string PlanDropOffPort2 { get; set; } public int? Site_Id { get; set; } [StringLength(50)] public string SiteCode { get; set; } [StringLength(150)] public string SiteName { get; set; } [StringLength(150)] public string SiteAddress { get; set; } public byte? Take { get; set; } [StringLength(50)] public string WayBillType { get; set; } public decimal? TotalVolume { get; set; } public decimal? TotalFreight { get; set; } public decimal? TotalUnitPrice { get; set; } [StringLength(50)] public string PaymentMethod { get; set; } [StringLength(50)] public string Value { get; set; } [StringLength(50)] public string Expense { get; set; } public byte? Insured { get; set; } public byte? Collection { get; set; } [StringLength(50)] public string MailCustomer { get; set; } [StringLength(50)] public string Routebill { get; set; } [StringLength(50)] public string DeliveryMethod { get; set; } public byte? StorePreservation { get; set; } public byte? AddressPreservation { get; set; } public int? Carrier_Id { get; set; } [StringLength(50)] public string CarrierCode { get; set; } [StringLength(50)] public string CarrierName { get; set; } public int? Driver_Id { get; set; } [StringLength(50)] public string DriverName { get; set; } [StringLength(50)] public string tel { get; set; } [StringLength(50)] public string VehicleType { get; set; } [StringLength(50)] public string TruckNo { get; set; } public DateTime? ArriveDate { get; set; } [StringLength(50)] public string LineType { get; set; } [StringLength(50)] public string DeputyOne { get; set; } [StringLength(50)] public string DeputyTwo { get; set; } [StringLength(50)] public string DeputyPhoneOne { get; set; } [StringLength(50)] public string DeputyPhoneTwo { get; set; } [StringLength(50)] public string TrailerTruckNo { get; set; } [StringLength(50)] public string OwnerName { get; set; } [StringLength(50)] public string DistributionTruckNo { get; set; } [StringLength(50)] public string VehicleLine { get; set; } [StringLength(50)] public string LinkRoute { get; set; } [StringLength(50)] public string TransportStats { get; set; } [StringLength(50)] public string Transportbill { get; set; } [StringLength(50)] public string PickupCode { get; set; } [StringLength(50)] public string Type { get; set; } [StringLength(50)] public string Stats { get; set; } public int? Auditing { get; set; } [StringLength(200)] public string OutStation { get; set; } [StringLength(50)] public string ArriveStation { get; set; } [StringLength(50)] public string DistributionSite { get; set; } [StringLength(50)] public string DistributionAddress { get; set; } [StringLength(50)] public string ConsigneeName { get; set; } [StringLength(50)] public string ConsigneeMobileOne { get; set; } [StringLength(50)] public string ConsigneeMobileTwo { get; set; } [StringLength(50)] public string ConsigneeAddress { get; set; } [StringLength(50)] public string DistributionRoute { get; set; } public int? TotalQuantity { get; set; } public decimal? TotalWeight { get; set; } [StringLength(50)] public string Requirement { get; set; } [StringLength(50)] public string Degrees { get; set; } [StringLength(50)] public string Generate { get; set; } public string ExpandFields { 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; } [StringLength(50)] public string Remark { get; set; } public int? PlatUser_Id { get; set; } public int? UserProduct_Id { get; set; } public virtual TMS_Distribution TMS_Distribution { get; set; } } }