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 V_QueryPurchaseOrderDetails { [Key] [Column(Order = 0)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public long Id { get; set; } public long? PurchaseOrderId { get; set; } [StringLength(50)] public string DeliveryNo { get; set; } [StringLength(50)] public string WareMaterialCode { get; set; } [StringLength(50)] public string BarCode { get; set; } public decimal? DeliveryQuantity { get; set; } public decimal? GoodsQuantity { get; set; } public decimal? SurplusQuantity { get; set; } public int? Status { get; set; } [StringLength(500)] public string Remark { get; set; } [Key] [Column(Order = 1)] [StringLength(8)] public string SignStatus { 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; } [StringLength(100)] public string SAP_CreatedUserName { get; set; } public DateTime? SAP_CreatedTime { get; set; } public DateTime? SAP_UpdatedTime { get; set; } [StringLength(100)] public string SAP_UpdatedUserName { get; set; } public int? Sap_ConfirmStatus { get; set; } public int? Sap_ConfirmCount { get; set; } public DateTime? Sap_PushTime { get; set; } [StringLength(200)] public string Sap_ConfirmMessage { get; set; } [StringLength(50)] public string BarNo { get; set; } [StringLength(200)] public string Name { get; set; } public decimal? Long { get; set; } public decimal? Width { get; set; } public decimal? High { get; set; } public decimal? Weight { get; set; } [StringLength(50)] public string Category { get; set; } [StringLength(50)] public string Describe { get; set; } [StringLength(50)] public string MaterialTypeName { get; set; } [StringLength(50)] public string SpecificationModel { get; set; } public decimal? Price { get; set; } [StringLength(100)] public string Machine { get; set; } public int? WriteOffQuantity { get; set; } [StringLength(100)] public string Sap_Location { get; set; } [StringLength(50)] public string Ebelp { get; set; } [StringLength(100)] public string NETWR { get; set; } [StringLength(100)] public string MWSKZ { get; set; } [StringLength(100)] public string LOEKZ { get; set; } public DateTime? EINDT { get; set; } [StringLength(50)] public string Unit { get; set; } [StringLength(50)] public string PurchaseNo { get; set; } [StringLength(50)] public string DeliveryType { get; set; } } }