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 ExpressZT_Order { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public ExpressZT_Order() { ExpressZT_OrderList = new HashSet(); ExpressZT_OrderRoute = new HashSet(); } [Key] public long ZTOrder_Id { get; set; } public long Order_Id { get; set; } [Required] [StringLength(50)] public string OrderCode { get; set; } [StringLength(50)] public string StoreOrderCode { get; set; } public int? ExpressCorp_Id { get; set; } [StringLength(500)] public string ExpressCorpName { get; set; } [StringLength(500)] public string TrackingNumber { get; set; } public int? InterfaceStatusID { get; set; } [StringLength(50)] public string InterfaceStatusText { get; set; } public DateTime? PushDate { get; set; } [StringLength(50)] public string type { get; set; } [StringLength(50)] public string status { get; set; } [StringLength(50)] public string partnerCode { get; set; } [StringLength(50)] public string tradeId { get; set; } [StringLength(50)] public string mailNo { get; set; } [StringLength(50)] public string siteName { get; set; } [StringLength(50)] public string senderId { get; set; } [StringLength(50)] public string sendername { get; set; } [StringLength(50)] public string sendercompany { get; set; } [StringLength(50)] public string sendermobile { get; set; } [StringLength(50)] public string senderphone { get; set; } [StringLength(50)] public string senderprov { get; set; } [StringLength(50)] public string sendercity { get; set; } [StringLength(50)] public string sendercounty { get; set; } [StringLength(500)] public string senderaddress { get; set; } [StringLength(50)] public string senderzipcode { get; set; } [StringLength(50)] public string receiverid { get; set; } [StringLength(50)] public string receivername { get; set; } [StringLength(50)] public string receivercompany { get; set; } [StringLength(50)] public string receivermobile { get; set; } [StringLength(50)] public string receiverphone { get; set; } [StringLength(50)] public string receiverprov { get; set; } [StringLength(50)] public string receivercity { get; set; } [StringLength(50)] public string receivercounty { get; set; } [StringLength(500)] public string receiveraddress { get; set; } [StringLength(50)] public string receiverzipcode { get; set; } public DateTime? starttime { get; set; } public DateTime? endtime { get; set; } public decimal? weight { get; set; } [StringLength(50)] public string size { get; set; } public int? quantity { get; set; } [Column(TypeName = "money")] public decimal? price { get; set; } public decimal? freight { get; set; } public decimal? premium { get; set; } public decimal? packCharges { get; set; } public decimal? otherCharges { get; set; } public decimal? orderSum { get; set; } [StringLength(50)] public string collectMoneytype { get; set; } public decimal? collectSum { 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; } [StringLength(50)] public string marke { get; set; } [StringLength(50)] public string InterfaceAccount_Id { get; set; } [StringLength(150)] public string InterfaceAccountName { 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? SourceType { get; set; } public int? PushCount { get; set; } public string ExpandFields { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ExpressZT_OrderList { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ExpressZT_OrderRoute { get; set; } } }