using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Volo.Abp.Domain.Entities; namespace Win_in.Sfs.Scp.v1.Domain { public class TB_PO_DETAIL : Entity { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public long UID { get; set; } [StringLength(50)] public string PoBillNum { get; set; } public int PoLine { get; set; } public DateTime? BeginTime { get; set; } public DateTime? EndTime { get; set; } [Required] [StringLength(50)] public string PartCode { get; set; } [Column(TypeName = "money")] public decimal ShippedQty { get; set; } [Column(TypeName = "money")] public decimal ReceivedQty { get; set; } public string RejectQty { 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; } public decimal PlanQty { get; set; } [Column(TypeName = "money")] public decimal PackQty { get; set; } [Column(TypeName = "money")] public decimal? TempQty { get; set; } public int State { get; set; } [StringLength(200)] public string Remark { get; set; } public decimal UnConv { get; set; } [StringLength(50)] public string DockCode { get; set; } public string Extend1 { get; set; } public string Extend2 { get; set; } public string Extend3 { get; set; } public string SubSite { get; set; } public string Site { get; set; } public DateTime CreateTime { get; set; } [StringLength(50)] public string CreateUser { get; set; } public DateTime? UpdateTime { get; set; } [StringLength(50)] public string UpdateUser { get; set; } [StringLength(50)] public string UpdateInfo { get; set; } public bool IsDeleted { get; set; } public Guid GUID { get; set; } public override object[] GetKeys() { return new object[] { UID }; } } }