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; } [Key] [Column(Order = 1)] [StringLength(50)] public string MaterialCode { get; set; } [Key] [Column(Order = 2)] [StringLength(50)] public string MaterialName { get; set; } [Key] [Column(Order = 3)] [StringLength(50)] public string AsnNo { get; set; } [Key] [Column(Order = 4)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int AsnStatus { get; set; } [StringLength(50)] public string SupplierBatch { get; set; } [StringLength(50)] public string Batch { get; set; } [Key] [Column(Order = 5)] public decimal Quantity { get; set; } public decimal? POQuantity { get; set; } [Key] [Column(Order = 6)] public decimal GoodsQuantity { get; set; } [Key] [Column(Order = 7)] [StringLength(50)] public string AsnLineNumber { get; set; } [Key] [Column(Order = 8)] [StringLength(50)] public string AsnStatusName { get; set; } [StringLength(50)] public string PoNo { get; set; } public bool? IsFreeze { get; set; } [StringLength(50)] public string PoUnit { get; set; } [StringLength(50)] public string MaterialUnit { get; set; } public decimal? TranslateRate { get; set; } public decimal? MaxImumqty { get; set; } [StringLength(255)] public string SN_1d { get; set; } [StringLength(255)] public string SN_2d { get; set; } public decimal? StockQty { get; set; } [Key] [Column(Order = 9)] public bool IsDelete { get; set; } } }