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_ware_PurchaseOrderDetailsForPDA { [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(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; } [StringLength(50)] public string Unit { get; set; } public decimal? Price { get; set; } [StringLength(100)] public string Machine { get; set; } public bool? IsCheck { get; set; } [Key] [Column(Order = 2)] [StringLength(151)] public string Supplier { get; set; } public int? CheckStatus { get; set; } [StringLength(50)] public string SequenceNo { get; set; } public bool? IsSpecial { get; set; } [StringLength(50)] public string EBELP { get; set; } [StringLength(100)] public string Sap_Location { get; set; } [StringLength(50)] public string PurchaseNo { get; set; } [Key] [Column(Order = 3)] [StringLength(2)] public string IsYueku { get; set; } } }