using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CK.SCP.Models.ScpEntity { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Utils; public partial class V_TB_ASN_DETAIL_VIEW:RecordEntity { [Key] public long UID { get; set; } public string PoBillNum { get; set; } public int PoLine { get; set; } public string PartCode { get; set; } public string PoUnit { get; set; } public string LocUnit { get; set; } public decimal Price { get; set; } public string Currency { get; set; } public decimal PackQty { get; set; } public decimal UnConv { get; set; } public string DockCode { get; set; } public Nullable State { get; set; } public string Remark { get; set; } public string PartDesc1 { get; set; } public string CurrencyDesc { get; set; } public string Site { get; set; } public string VendName { get; set; } public string PartDesc2 { get; set; } public string AsnBillNum { get; set; } public decimal Qty { get; set; } public string VendBatch { get; set; } public Nullable ProduceDate { get; set; } public string Batch { get; set; } public string VendId { get; set; } public string AskBillNum { get; set; } public string Site_Desc { get; set; } public Nullable EndTime { get; set; } public string ReceivedPort { get; set; } public string ReceivedPort_Desc { get; set; } public string PlateNumber { get; set; } public string Expr1 { get; set; } public Nullable ShipTime { get; set; } public string ShipUser { get; set; } public Nullable ReceiveTime { get; set; } public string ReceiveUser { get; set; } public int? ASN_STATE { get; set; } //public string 单据类型名称 => EnumHelper.GetDescription((BillType)单据类型); //public string ASN_DESC=> EnumHelper.GetDescription((BillType)单据类型); [NotMapped] public Nullable ReceiveTimeBegin { get; set; } [NotMapped] public Nullable ReceiveTimeEnd { get; set; } [NotMapped] public Nullable ShipTimeBegin { get; set; } [NotMapped] public Nullable ShipTimeEnd { get; set; } } }