using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CK.SCP.Models.ScpEntity { public class V_ARRIVE_PRINT { public string FileNo{get;set;} public string DeliveryNo{get;set;} public string ChineseAddress{get;set;} public string EnglishAddress{get;set;} public string SupplierNo{get;set;} public string SupplierName{get;set;} public string SupplierContacter{get;set;} public string SupplierPhone => ScpCache.GetVendPhone(SupplierNo); public string SupplierFax => ScpCache.GetVendFax(SupplierNo); public string DueDeliveryDate{get;set;} public string MaterialPlanner{get;set;} public string CAAIPhone{get;set;} public string CAAIFax { get; set; } public string ShipTimeDate { get; set; } public string MaterialPhone { get; set; } public string STDCOUNT { get; set; } } public class V_ARRIVE_PRINT_DETAIL { public string PartNo { get; set; } public string PartDesc { get; set; } public string Unit { get; set; } public string STD { get; set; } public string Boxes { get; set; } public string DeliverQty { get; set; } public string ReceiveQty { get; set; } public string PoNo { get; set; } public string LineNO { get; set; } public string Memo { get; set; } public string DockCode { get; set; } public string DockCode_Desc => ScpCache.PortList.Where(p => p.PORT_NO == DockCode).FirstOrDefault() == null ? "" : ScpCache.PortList.Where(p => p.PORT_NO == DockCode).FirstOrDefault().PORT_DESCRIPTION; public string SpecialState { get; set; } public string ArriveState { get; set; } public string VendBatch { get; set; } public string ProduecDate { get; set; } } }