using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CK.SCP.Models.ScpEntity { public partial class TB_INVOICE_DETAIL:RecordEntity { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Key] public long UID { get; set; } [StringLength(50)] public string InvcBillNum { get; set; } [StringLength(50)] public string RecvBillNum { get; set; } [StringLength(50)] public string AsnBillNum { get; set; } [StringLength(50)] public string PoBillNum { get; set; } [DatabaseGenerated(DatabaseGeneratedOption.None)] public int PoLineNum { get; set; } [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 Qty { get; set; } [StringLength(50)] public string PoUnit { 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 string Remark { get; set; } [Column(TypeName = "date")] public Nullable BeginTime { get; set; } public decimal? ContractPrice { get; set; } public decimal? BlancePrice { get; set; } [Column(TypeName = "money")] public decimal? DiscountPrice { get; set; } [StringLength(50)] public string DiscountRemark { get; set; } public Nullable IsRed { get; set; } public string Site { get; set; } public string SubSite { get; set; } public int TemporaryPrice { set; get; } } }