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 Express4PX_Order { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Express4PX_Order() { Express4PX_DeclareInvoice = new HashSet(); Express4PX_TrackInfo = new HashSet(); } [Key] public int Px4Order_Id { get; set; } public long? Order_Id { get; set; } [Required] [StringLength(50)] public string OrderNo { get; set; } [StringLength(50)] public string OrderCode { get; set; } public int? ExpressCorp_Id { get; set; } [StringLength(50)] public string ExpressCorpName { get; set; } [StringLength(50)] public string TrackingNumber { get; set; } public byte? InterfaceStatusID { get; set; } [StringLength(50)] public string InterfaceStatusText { get; set; } [Required] [StringLength(50)] public string ProductCode { get; set; } [StringLength(50)] public string CargoCode { get; set; } [StringLength(50)] public string PaymentCode { get; set; } [StringLength(50)] public string InitialCountryCode { get; set; } [Required] [StringLength(50)] public string DestinationCountryCode { get; set; } [StringLength(50)] public string Pieces { get; set; } [StringLength(50)] public string InsurType { get; set; } [StringLength(50)] public string InsurValue { get; set; } [StringLength(50)] public string BuyerId { get; set; } [StringLength(50)] public string ReturnSign { get; set; } [StringLength(50)] public string CustomerWeight { get; set; } [StringLength(50)] public string TransactionId { get; set; } [StringLength(50)] public string ShipperCompanyName { get; set; } [StringLength(50)] public string ShipperName { get; set; } [StringLength(50)] public string ShipperAddress { get; set; } [StringLength(50)] public string ShipperTelephone { get; set; } [StringLength(50)] public string ShipperFax { get; set; } [StringLength(50)] public string ShipperPostCode { get; set; } [StringLength(250)] public string ConsigneeCompanyName { get; set; } [Required] [StringLength(250)] public string ConsigneeName { get; set; } [Required] [StringLength(3500)] public string Street { get; set; } [Required] [StringLength(50)] public string City { get; set; } [Required] [StringLength(50)] public string StateOrProvince { get; set; } [StringLength(350)] public string ConsigneeTelephone { get; set; } [StringLength(350)] public string ConsigneeFax { get; set; } [StringLength(50)] public string ConsigneePostCode { get; set; } [StringLength(50)] public string ConsigneeEmail { get; set; } [StringLength(50)] public string Note { 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; } [StringLength(50)] public string SignForPerson { get; set; } [StringLength(50)] public string SignForDate { get; set; } [StringLength(50)] public string Px4OrderCode { 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 string ExpandFields { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Express4PX_DeclareInvoice { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Express4PX_TrackInfo { get; set; } } }