using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CK.SCP.Models.ScpEntity { public partial class TF_ASN_DETAIL { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int UID { get; set; } [Key] [Column(Order = 0)] [StringLength(50)] public string BillNum { get; set; } [Key] [Column(Order = 1)] [StringLength(50)] public string PoBillNum { get; set; } [Key] [Column(Order = 2)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int PoLineNum { get; set; } [Key] [Column(Order = 3)] [StringLength(50)] public string PartCode { get; set; } [StringLength(50)] public string Batch { get; set; } [Column(TypeName = "date")] public DateTime ProduceDate { get; set; } [StringLength(50)] public string VendBatch { get; set; } [Column(TypeName = "money")] public decimal BillQty { get; set; } [StringLength(50)] public string PoUnit { get; set; } [StringLength(50)] public string LocUnit { get; set; } [Column(TypeName = "money")] public decimal Price { get; set; } [StringLength(50)] public string Currency { get; set; } [Column(TypeName = "money")] public decimal PackQty { get; set; } public int State { get; set; } public decimal? UmConv { get; set; } } }