namespace iWareSql.MyDbContext { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class ware_purchase_order { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public ware_purchase_order() { ware_purchase_order_details = new HashSet(); warepurchaseorder_vs_waregoodsdelivery = new HashSet(); } [DatabaseGenerated(DatabaseGeneratedOption.None)] public long Id { get; set; } [StringLength(50)] public string PurchaseNo { get; set; } [StringLength(50)] public string DeliveryType { get; set; } public DateTimeOffset? AppointmentDate { get; set; } [StringLength(200)] public string PlaceShip { get; set; } [StringLength(200)] public string DestinationShip { get; set; } [StringLength(100)] public string ExpressInfoNo { get; set; } [StringLength(50)] public string BasicExpressInfoCode { get; set; } public DateTimeOffset? DeliverDate { get; set; } public DateTimeOffset? EstimatedDate { get; set; } public DateTimeOffset? ArrivalDate { get; set; } [StringLength(50)] public string BasicSupplierInfoCode { get; set; } public long? PurchaserUserId { get; set; } [StringLength(500)] public string Remark { get; set; } public int? Status { get; set; } public long? TenantId { get; set; } public DateTimeOffset? CreatedTime { get; set; } public DateTimeOffset? UpdatedTime { get; set; } [StringLength(20)] public string CreatedUserName { get; set; } public long? CreatedUserId { get; set; } public long? UpdatedUserId { get; set; } [StringLength(20)] public string UpdatedUserName { get; set; } public bool? IsDeleted { get; set; } [StringLength(50)] public string WarehouseCode { get; set; } public DateTimeOffset? IssueTime { get; set; } [StringLength(50)] public string IssueUserName { get; set; } [StringLength(500)] public string Images { get; set; } [StringLength(50)] public string Supplier { get; set; } public DateTime? SAP_CreatedTime { get; set; } [StringLength(100)] public string SAP_CreatedUserName { get; set; } public DateTime? SAP_UpdatedTime { get; set; } [StringLength(100)] public string SAP_UpdatedUserName { get; set; } [StringLength(100)] public string ZTERM_D { get; set; } [StringLength(100)] public string ZTERM { get; set; } [StringLength(100)] public string WAERS { get; set; } [StringLength(100)] public string INCO2 { get; set; } [StringLength(100)] public string INCO1 { get; set; } [StringLength(100)] public string EKORG { get; set; } [StringLength(10)] public string POApprovalStatus { get; set; } [StringLength(100)] public string SupplierCode { get; set; } [StringLength(100)] public string SupplierName { get; set; } public int? WriteOffState { get; set; } public int IsUrgentItem { get; set; } public int PurchaseStatus { get; set; } [StringLength(50)] public string SupplierNo { get; set; } [StringLength(500)] public string Sap_OrderNo { get; set; } [StringLength(500)] public string Sap_Remark { get; set; } public DateTime? Sap_PushTime { get; set; } public int? Sap_CancelConfirmStatus { get; set; } public int? Sap_CancelConfirmCount { get; set; } public int? Sap_ConfirmStatus { get; set; } public int? Sap_ConfirmCount { get; set; } [StringLength(200)] public string Sap_ConfirmMessage { get; set; } [StringLength(200)] public string OperationRemark { get; set; } public int? SourceBy { get; set; } [StringLength(100)] public string CustomCode { get; set; } [StringLength(100)] public string CustomName { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ware_purchase_order_details { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection warepurchaseorder_vs_waregoodsdelivery { get; set; } } }