using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CK.SCP.Models.ScpEntity { public class V_BillShipDetail { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int UID { get; set; } [Key] [StringLength(50)] public string BillNum { 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 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 int? BillType { get; set; } public DateTime? BillTime { get; set; } [Required] [StringLength(50)] public string AsnBillNum { get; set; } [Required] [StringLength(50)] public string VendId { get; set; } [Required] [StringLength(50)] public string OperName { get; set; } public DateTime? ShipTime { get; set; } public DateTime? ReceiveTime { get; set; } [StringLength(50)] public string Remark { get; set; } [StringLength(50)] public string AsnBillNUm { get; set; } [Column(TypeName = "money")] public decimal? ReceivedQty { get; set; } [Required] [StringLength(50)] public string ErpPartCode { get; set; } [Required] public string PartDesc1 { get; set; } [Required] public string PartDesc2 { get; set; } [Required] [StringLength(50)] public string ProjectId { get; set; } [Required] [StringLength(50)] public string Unit { get; set; } [Required] [StringLength(50)] public string PartGroup { get; set; } [StringLength(100)] public string Configuration { get; set; } public int? ValidityDays { get; set; } [StringLength(50)] public string ReceivePort { get; set; } [StringLength(50)] public string PalletSize { get; set; } //收货数量 [Column(TypeName = "money")] public decimal? Expr15 { get; set; } } }