namespace DeviceWCS.EDM { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class Purchase_Order { [Key] public int Order_Id { get; set; } [StringLength(50)] public string OrderCode { get; set; } public int Storage_Id { get; set; } [Required] [StringLength(50)] public string StorageName { get; set; } public int? User_Id { get; set; } [StringLength(50)] public string UserTrueName { get; set; } public int? Dept_Id { get; set; } [StringLength(50)] public string DeptName { get; set; } public DateTime? ApplyDate { get; set; } public DateTime? ArrivedDate { get; set; } public int? Provider_Id { get; set; } [StringLength(50)] public string ProviderCode { get; set; } [StringLength(50)] public string ProviderShortName { get; set; } [StringLength(200)] public string CorpURL { get; set; } public decimal? TotalQuantity { get; set; } [Column(TypeName = "money")] public decimal? TotalMoney { get; set; } [Column(TypeName = "money")] public decimal? TotalPaidMoney { get; set; } [Column(TypeName = "money")] public decimal? SurplusTotal { get; set; } [Column(TypeName = "money")] public decimal? ExpressFee { get; set; } [Column(TypeName = "money")] public decimal? Rate { get; set; } [Column(TypeName = "money")] public decimal? TotalRateMoney { get; set; } [StringLength(50)] public string ProductionStatus { get; set; } public byte? StatusID { get; set; } [StringLength(50)] public string StatusText { get; set; } public byte? ReturnStatusID { get; set; } [StringLength(50)] public string ReturnStatusText { get; set; } [StringLength(50)] public string Auditor { get; set; } public byte? Auditing { get; set; } public DateTime? AuditDate { get; set; } public string AuditRemark { get; set; } [StringLength(250)] public string TrackingNumber { 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; } [Column(TypeName = "money")] public decimal? Refund { get; set; } public int Consignor_Id { get; set; } [Required] [StringLength(50)] public string ConsignorCode { get; set; } [Required] [StringLength(150)] public string ConsignorName { get; set; } public byte? IsChecking { get; set; } public int? IsArrivalProcess { get; set; } public byte? FinStatusID { get; set; } [StringLength(50)] public string FinStatusText { get; set; } [StringLength(32)] public string ExternalNo { get; set; } [StringLength(32)] public string ExternalNo2 { get; set; } public long? SourceId { get; set; } public byte? IsCiqDeclare { get; set; } [StringLength(50)] public string OrderType { get; set; } [StringLength(50)] public string ReturnOrderCode { get; set; } [Column(TypeName = "money")] public decimal? TaxAmountTotal { get; set; } public decimal? TotalWeight { get; set; } [StringLength(50)] public string ContainerNo { get; set; } [StringLength(300)] public string FeeItem_Ids { get; set; } public string ExpandFields { get; set; } [Column(TypeName = "money")] public decimal? TotalPaid { get; set; } [Column(TypeName = "money")] public decimal? Unpaid { 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? Plate_Id { get; set; } [StringLength(50)] public string PlateCode { get; set; } public int? ProductionLine_Id { get; set; } [StringLength(50)] public string ProductionLineCode { get; set; } [StringLength(50)] public string ProductionLineName { get; set; } public int? Printing { get; set; } [StringLength(50)] public string PartStatus { get; set; } public decimal? DynamicWeight { get; set; } [StringLength(50)] public string RelationDrivers { get; set; } [StringLength(50)] public string PlateName { get; set; } [StringLength(50)] public string RepairType { get; set; } public int? PlateType_Id { get; set; } [StringLength(50)] public string PlateType { get; set; } public byte? OverRun { get; set; } [StringLength(50)] public string PositionName { get; set; } public byte? IsOverWeight { get; set; } public int? packingQuantity { get; set; } public byte? isPassWeight { get; set; } } }