using Mapster; using Myshipping.Application.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Myshipping.Application { public class TaskManageMapper : IRegister { public void Register(TypeAdapterConfig config) { config.ForType() .Map(dest => dest.SHIPPER, src => src.Shipper) .Map(dest => dest.CONSIGNEE, src => src.Consignee) .Map(dest => dest.NOTIFYPARTY, src => src.NotifyParty) .Map(dest => dest.MARKS, src => src.Marks) .Map(dest => dest.DESCRIPTION, src => src.Description) .Map(dest => dest.REMARK, src => src.Remark) .Map(dest => dest.BLFRT, src => src.BLFRT) .Map(dest => dest.SERVICE, src => src.Service) .Map(dest => dest.ISSUETYPE, src => src.IssueType) .Map(dest => dest.PORT_LOADID, src => src.PortLoadId) .Map(dest => dest.PORT_LOAD, src => src.PortLoad) .Map(dest => dest.PORT_DISCHARGEID, src => src.PortDischargeId) .Map(dest => dest.PORT_DISCHARGE, src => src.PortDischarge) .Map(dest => dest.PORT_TRANSID, src => src.PortTransId) .Map(dest => dest.PORT_TRANS, src => src.PortTrans) .Map(dest => dest.DESTINATION_ID, src => src.DestinationId) .Map(dest => dest.DESTINATION, src => src.Destination) .Map(dest => dest.KIND_PKGS, src => src.KindPKGS) .Map(dest => dest.PKGS, src => src.PKGS) .Map(dest => dest.THIRDPAYADDR, src => src.ThirdPayAddr); config.ForType() .Map(dest => dest.CONTA_NO, src => src.ContaNo) .Map(dest => dest.SEAL_NO, src => src.SealNo) .Map(dest => dest.PKGS, src => src.PKGS) .Map(dest => dest.KGS, src => src.KGS) .Map(dest => dest.CBM, src => src.CBM) .Map(dest => dest.CONTA_TYPE, src => src.ContaType) .Map(dest => dest.CONTA_TYPE_NAME, src => src.ContaTypeName); config.ForType() .Map(dest => dest.SORT_NO, src => src.SortNo) .Map(dest => dest.FEE_CODE, src => src.FeeCode) .Map(dest => dest.FEE_NAME, src => src.FeeName) .Map(dest => dest.AMOUNT, src => src.Amount) .Map(dest => dest.AMOUNT_USD, src => src.AmountUSD) .Map(dest => dest.CURRENCY, src => src.Currency) .Map(dest => dest.S20, src => src.S20) .Map(dest => dest.S40, src => src.S40) .Map(dest => dest.S45, src => src.S45) .Map(dest => dest.CTNALL, src => src.Ctnall) .Map(dest => dest.QTY, src => src.Qty) .Map(dest => dest.UNIT, src => src.Unit) .Map(dest => dest.TAX_TYPE, src => src.TaxType) .Map(dest => dest.RATE, src => src.Rate) .Map(dest => dest.TOTAL_AMOUNT, src => src.TotalAmount) .Map(dest => dest.IS_DONGSHENG, src => src.IsDongSheng) .Map(dest => dest.IS_TOTAL, src => src.IsTotal); config.ForType() .Map(dest => dest.CONTA_NO, src => src.ContaNo) .Map(dest => dest.SEAL_NO, src => src.SealNo) .Map(dest => dest.CONTA_TYPE, src => src.ContaType) .Map(dest => dest.CONTA_TYPE_NAME, src => src.ContaTypeName) .Map(dest => dest.KGS, src => src.KGS) .Map(dest => dest.TAREWEIGHT, src => src.TAREWEIGHT) .Map(dest => dest.WEIGHKGS, src => src.WEIGHKGS) .Map(dest => dest.WEIGHTYPE, src => src.WEIGHTYPE) .Map(dest => dest.MBL_NO, src => src.MBLNo); config.ForType() .Map(dest => dest.PKId, src => src.PK_ID) .Map(dest => dest.TaskNo, src => src.TASK_NO) .Map(dest => dest.TaskType, src => src.TASK_TYPE) .Map(dest => dest.TaskSource, src => src.TASK_SOURCE) .Map(dest => dest.Status, src => src.STATUS) .Map(dest => dest.StatusName, src => src.STATUS_NAME) .Map(dest => dest.TaskTitle, src => src.TASK_TITLE) .Map(dest => dest.TaskDesp, src => src.TASK_DESP) .Map(dest => dest.OutBusiNo, src => src.OUT_BUSI_NO) .Map(dest => dest.OutBusiType, src => src.OUT_BUSI_TYPE) .Map(dest => dest.CarrierId, src => src.CARRIER_ID) .Map(dest => dest.MblNo, src => src.MBL_NO) .Map(dest => dest.Remark, src => src.REMARK) .Map(dest => dest.IsExcept, src => src.IS_EXCEPT) .Map(dest => dest.IsPublic, src => src.IS_PUBLIC) .Map(dest => dest.IsComplete, src => src.IS_COMPLETE) .Map(dest => dest.BeginDate, src => src.BEGIN_DATE) .Map(dest => dest.CompleteDate, src => src.COMPLETE_DATE) .Map(dest => dest.BookOrderNo, src => src.BOOK_ORDER_NO) .Map(dest => dest.ResultNote, src => src.RESULT_NOTE) .Map(dest => dest.ETD, src => src.ETD.HasValue ? src.ETD.Value.ToString("yyyy-MM-dd HH:mm:ss") : "") .Map(dest => dest.CreatedTime, src => src.CreatedTime) .Map(dest => dest.UpdatedTime, src => src.UpdatedTime.HasValue ? src.UpdatedTime.Value.ToString("yyyy-MM-dd HH:mm:ss") : "") .Map(dest => dest.CreatedUserId, src => src.CreatedUserId) .Map(dest => dest.CreatedUserName, src => src.CreatedUserName) .Map(dest => dest.UpdatedUserId, src => src.UpdatedUserId) .Map(dest => dest.UpdatedUserName, src => src.UpdatedUserName) .Map(dest => dest.ComplateDeal, src => src.COMPLETE_DEAL) .Map(dest => dest.ComplateDealName, src => src.COMPLETE_DEAL_NAME) .Map(dest => dest.IssueType, src => src.ISSUE_TYPE) .Map(dest => dest.IssueTypeName, src => src.ISSUE_TYPE_NAME) .Map(dest => dest.TaskReqUserId, src => src.TASK_REQ_USERID) .Map(dest => dest.TaskReqUserName, src => src.TASK_REQ_USERNAME) .Map(dest => dest.YardName, src => src.YARD_NAME) .Map(dest => dest.VesselVoyno, src => src.VESSEL_VOYNO); config.ForType() .Map(dest => dest.PK_ID, src => src.PKId) .Map(dest => dest.TASK_NO, src => src.TaskNo) .Map(dest => dest.TASK_TYPE, src => src.TaskType) .Map(dest => dest.TASK_SOURCE, src => src.TaskSource) .Map(dest => dest.TASK_TITLE, src => src.TaskTitle) .Map(dest => dest.TASK_DESP, src => src.TaskDesp) .Map(dest => dest.OUT_BUSI_NO, src => src.OutBusiNo) .Map(dest => dest.OUT_BUSI_TYPE, src => src.OutBusiType) .Map(dest => dest.CARRIER_ID, src => src.CarrierId) .Map(dest => dest.MBL_NO, src => src.MblNo) .Map(dest => dest.REMARK, src => src.Remark) .Map(dest => dest.IS_EXCEPT, src => src.IsExcept) .Map(dest => dest.IS_PUBLIC, src => src.IsPublic) .Map(dest => dest.IS_COMPLETE, src => src.IsComplete) .Map(dest => dest.BEGIN_DATE, src => src.BeginDate) .Map(dest => dest.COMPLETE_DATE, src => src.CompleteDate) .Map(dest => dest.BOOK_ORDER_NO, src => src.BookOrderNo) .Map(dest => dest.RESULT_NOTE, src => src.ResultNote) .Map(dest => dest.ETD, src => src.ETD) .Map(dest => dest.CreatedTime, src => src.CreatedTime) .Map(dest => dest.UpdatedTime, src => src.UpdatedTime) .Map(dest => dest.CreatedUserId, src => src.CreatedUserId) .Map(dest => dest.CreatedUserName, src => src.CreatedUserName) .Map(dest => dest.UpdatedUserId, src => src.UpdatedUserId) .Map(dest => dest.UpdatedUserName, src => src.UpdatedUserName); config.ForType() .Map(dest => dest.MasterBlNo, src => src.MBLNO) .Map(dest => dest.HouseBlNo, src => src.HBLNO) .Map(dest => dest.BookingNo, src => src.BOOKINGNO) .Map(dest => dest.ContrNo, src => src.CONTRACTNO) .Map(dest => dest.ServContrNo, src => src.SERVICECONTRACTNO) .Map(dest => dest.ShipperId, src => src.SHIPPERID) .Map(dest => dest.ConsigneeId, src => src.CONSIGNEEID) .Map(dest => dest.NotifyPartyId, src => src.NOTIFYPARTYID) .Map(dest => dest.Shipper, src => src.SHIPPER) .Map(dest => dest.Consignee, src => src.CONSIGNEE) .Map(dest => dest.NotifyParty, src => src.NOTIFYPARTY) .Map(dest => dest.NotifyPrt2, src => src.NOTIFYPARTY2) .Map(dest => dest.YardId, src => src.YARDID) .Map(dest => dest.Yard, src => src.YARD) .Map(dest => dest.VesselId, src => src.VESSELID) .Map(dest => dest.Vessel, src => src.VESSEL) .Map(dest => dest.Voyno, src => src.VOYNO) .Map(dest => dest.VoynoIn, src => src.VOYNOINNER) .Map(dest => dest.ETD, src => src.ETD) .Map(dest => dest.ATD, src => src.ATD) .Map(dest => dest.ETA, src => src.ETA) .Map(dest => dest.ClosingDate, src => src.CLOSINGDATE.HasValue ? src.CLOSINGDATE.Value.ToString("yyyy-MM-dd HH:mm:ss") : "") .Map(dest => dest.CloseDocDate, src => src.CLOSEDOCDATE.HasValue ? src.CLOSEDOCDATE.Value.ToString("yyyy-MM-dd HH:mm:ss") : "") .Map(dest => dest.CloseVGMDate, src => src.CLOSEVGMDATE.HasValue ? src.CLOSEVGMDATE.Value.ToString("yyyy-MM-dd HH:mm:ss") : "") .Map(dest => dest.PlaceReceiptId, src => src.PLACERECEIPTID) .Map(dest => dest.PlaceReceipt, src => src.PLACERECEIPT) .Map(dest => dest.PortLoadId, src => src.PORTLOADID) .Map(dest => dest.PortLoad, src => src.PORTLOAD) .Map(dest => dest.PortDischargeId, src => src.PORTDISCHARGEID) .Map(dest => dest.PortDischarge, src => src.PORTDISCHARGE) .Map(dest => dest.PlaceDeliveryId, src => src.PLACEDELIVERYID) .Map(dest => dest.PlaceDelivery, src => src.PLACEDELIVERY) .Map(dest => dest.DestinationId, src => src.DESTINATIONID) .Map(dest => dest.Destination, src => src.DESTINATION) .Map(dest => dest.NoBill, src => src.NOBILL) .Map(dest => dest.CopyNoBill, src => src.COPYNOBILL) .Map(dest => dest.IssueType, src => src.ISSUETYPE) .Map(dest => dest.IssueDate, src => src.ISSUEDATE.HasValue ? src.ISSUEDATE.Value.ToString("yyyy-MM-dd HH:mm:ss") : "") .Map(dest => dest.IssuePlaceId, src => src.ISSUEPLACEID) .Map(dest => dest.IssuePlace, src => src.ISSUEPLACE) .Map(dest => dest.Blfrt, src => src.BLFRT) .Map(dest => dest.PrepardAt, src => src.PREPARDAT) .Map(dest => dest.PayableAt, src => src.PAYABLEAT) .Map(dest => dest.Service, src => src.SERVICE) .Map(dest => dest.Marks, src => src.MARKS) .Map(dest => dest.HsCode, src => src.HSCODE) .Map(dest => dest.GoodsDescription, src => src.DESCRIPTION) .Map(dest => dest.PKGs, src => src.PKGS) .Map(dest => dest.KindPKGs, src => src.KINDPKGS) .Map(dest => dest.KGs, src => src.KGS) .Map(dest => dest.CBM, src => src.CBM) .Map(dest => dest.TotalNO, src => src.TOTALNO) .Map(dest => dest.CntrTotal, src => src.CNTRTOTAL) .Map(dest => dest.CarrierId, src => src.CARRIERID) .Map(dest => dest.Carrier, src => src.CARRIER) .Map(dest => dest.CargoId, src => src.CARGOID) .Map(dest => dest.DClass, src => src.DCLASS) .Map(dest => dest.DUnno, src => src.DUNNO) .Map(dest => dest.DPage, src => src.DPAGE) .Map(dest => dest.DLabel, src => src.DLABEL) .Map(dest => dest.DLinkMan, src => src.LINKMAN) .Map(dest => dest.TempId, src => src.TEMPID) .Map(dest => dest.TempSet, src => src.TEMPSET) .Map(dest => dest.Reeferf, src => src.REEFERF) .Map(dest => dest.Humidity, src => src.HUMIDITY) .Map(dest => dest.TempMin, src => src.TEMPMIN) .Map(dest => dest.TempMax, src => src.TEMPMAX) .Map(dest => dest.IsContaSOC, src => src.ISCONTAINERSOC) .Map(dest => dest.SORemark, src => src.SOREMARK) .Map(dest => dest.SIRemark, src => src.SIREMARK) .Map(dest => dest.YardRemark, src => src.YARDREMARK) .Map(dest => dest.ShipperName, src => src.SHIPPERNAME) .Map(dest => dest.ShipperAddr1, src => src.SHIPPERADDR1) .Map(dest => dest.ShipperAddr2, src => src.SHIPPERADDR2) .Map(dest => dest.ShipperAddr3, src => src.SHIPPERADDR3) .Map(dest => dest.ShipperCity, src => src.SHIPPERCITY) .Map(dest => dest.ShipperProvice, src => src.SHIPPERPROVINCE) .Map(dest => dest.ShipperPostCode, src => src.SHIPPERPOSTCODE) .Map(dest => dest.ShipperCountry, src => src.SHIPPERCOUNTRY) .Map(dest => dest.ShipperAttn, src => src.SHIPPERATTN) .Map(dest => dest.ShipperTel, src => src.SHIPPERTEL) .Map(dest => dest.ConsigneeName, src => src.CONSIGNEENAME) .Map(dest => dest.ConsigneeAddr1, src => src.CONSIGNEEADDR1) .Map(dest => dest.ConsigneeAddr2, src => src.CONSIGNEEADDR2) .Map(dest => dest.ConsigneeAddr3, src => src.CONSIGNEEADDR3) .Map(dest => dest.ConsigneeCity, src => src.CONSIGNEECITY) .Map(dest => dest.ConsigneeProvince, src => src.CONSIGNEEPROVINCE) .Map(dest => dest.ConsigneePostCode, src => src.CONSIGNEEPOSTCODE) .Map(dest => dest.ConsigneeCountry, src => src.CONSIGNEERCOUNTRY) .Map(dest => dest.ConsigneeAttn, src => src.CONSIGNEEATTN) .Map(dest => dest.ConsigneeTel, src => src.CONSIGNEETEL) .Map(dest => dest.NotifyPartyName, src => src.NOTIFYPARTYNAME) .Map(dest => dest.NotifyPartyAddr1, src => src.NOTIFYPARTYADDR1) .Map(dest => dest.NotifyPartyAddr2, src => src.NOTIFYPARTYADDR2) .Map(dest => dest.NotifyPartyAddr3, src => src.NOTIFYPARTYADDR3) .Map(dest => dest.NotifyPartyCity, src => src.NOTIFYPARTYCITY) .Map(dest => dest.NotifyPartyProvince, src => src.NOTIFYPARTYPROVINCE) .Map(dest => dest.NotifyPartyPostCode, src => src.NOTIFYPARTYPOSTCODE) .Map(dest => dest.NotifyPartyCountry, src => src.NOTIFYPARTYCOUNTRY) .Map(dest => dest.NotifyPartyAttn, src => src.NOTIFYPARTYATTN) .Map(dest => dest.NotifyPartyTel, src => src.NOTIFYPARTYTEL) .Map(dest => dest.CustomsER, src => src.CUSTOMSER) .Map(dest => dest.TruckER, src => src.TRUCKER) .Map(dest => dest.AgentId, src => src.AGENTID) .Map(dest => dest.ForwarderId, src => src.FORWARDERID) .Map(dest => dest.ShipAgencyId, src => src.SHIPAGENCYID) .Map(dest => dest.CustomsERId, src => src.CUSTOMSERID) .Map(dest => dest.TruckERId, src => src.TRUCKERID) .Map(dest => dest.AgentName, src => src.AGENTNAME) .Map(dest => dest.ConsigneeDoorAddr, src => src.CONSIGNEEDOORADDR) .Map(dest => dest.ShipperDoorAddr, src => src.SHIPPERDOORADDR) .Map(dest => dest.SCACCode, src => src.SCACCODE) .Map(dest => dest.ITNCode, src => src.ITNCODE) .Map(dest => dest.PrePardAtId, src => src.PREPARDATID) .Map(dest => dest.PayableAtId, src => src.PAYABLEATID) .Map(dest => dest.CustNo, src => src.CUSTNO) .Map(dest => dest.TransportId, src => src.TRANSPORTID) .Map(dest => dest.Transport, src => src.TRANSPORT) .Map(dest => dest.ThirdPayAddr, src => src.THIRDPAYADDR) .Map(dest => dest.YardContractTel, src => src.YARDCONTRACTTEL) .Map(dest => dest.YardContractEmail, src => src.YARDCONTRACTEMAIL) .Map(dest => dest.FeeSelf, src => src.FEESELF) .Map(dest => dest.LaneCode, src => src.LANECODE) .Map(dest => dest.LaneName, src => src.LANENAME) .Map(dest => dest.FreightPayer, src => src.FREIGHTPAYER); config.ForType() .Map(dest => dest.ContaType, src => src.CTNCODE) .Map(dest => dest.ContaTypeName, src => src.CTNALL) .Map(dest => dest.TEU, src => src.TEU) .Map(dest => dest.ContaNo, src => src.CNTRNO) .Map(dest => dest.SealNo, src => src.SEALNO) .Map(dest => dest.PKGs, src => src.PKGS) .Map(dest => dest.KindPKGs, src => src.KINDPKGS) .Map(dest => dest.KGs, src => src.KGS) .Map(dest => dest.CBM, src => src.CBM) .Map(dest => dest.TareWeight, src => src.TAREWEIGHT) .Map(dest => dest.ContaStatus, src => src.CTNSTATUS) .Map(dest => dest.WeighType, src => src.WEIGHTYPE) .Map(dest => dest.WeighKGs, src => src.WEIGHKGS) .Map(dest => dest.WeighAttn, src => src.WEIGHATTN) .Map(dest => dest.VGMConnCom, src => src.VGMCONNCOM) .Map(dest => dest.WeighTel, src => src.WEIGHTEL) .Map(dest => dest.WeighDate, src => src.WEIGHDATE) .Map(dest => dest.VGMAddr, src => src.VGMADDR) .Map(dest => dest.VGMEmail, src => src.VGMEMAIL) .Map(dest => dest.Remark, src => src.REMARK); config.ForType() .Map(dest => dest.PKGs, src => src.PKGS) .Map(dest => dest.KindPKGs, src => src.KINDPKGS) .Map(dest => dest.KGs, src => src.KGS) .Map(dest => dest.CBM, src => src.CBM) .Map(dest => dest.HSCode, src => src.HSCODE) .Map(dest => dest.Marks, src => src.MARKS) .Map(dest => dest.Description, src => src.DESCRIPTION) .Map(dest => dest.Remark, src => src.REMARK); config.ForType () .Map(dest => dest.SortNo, src => src.SORT_NO) .Map(dest => dest.FeeCode, src => src.FEE_CODE) .Map(dest => dest.FeeName, src => src.FEE_NAME) .Map(dest => dest.Amount, src => src.AMOUNT) .Map(dest => dest.Currency, src => src.CURRENCY) .Map(dest => dest.S20, src => src.S20) .Map(dest => dest.S40, src => src.S40) .Map(dest => dest.S45, src => src.S45); config.ForType() .Map(dest => dest.PKId, src => src.PK_ID) .Map(dest => dest.TaskPKId, src => src.TASK_PKID) .Map(dest => dest.MBLNo, src => src.MBL_NO) .Map(dest => dest.InvoiceNo, src => src.INVOICE_NO) .Map(dest => dest.CancelNo, src => src.CANCEL_NO) .Map(dest => dest.TotalAmount, src => src.TOTAL_AMOUNT) .Map(dest => dest.IsDongshengRecv, src => src.IS_DONGSH_RECV) .Map(dest => dest.DongshengRecvTime, src => src.DONGSH_RECV_TIME.HasValue? src.DONGSH_RECV_TIME.Value.ToString("yyyy-MM-dd HH:mm:ss") : "") .Map(dest => dest.IsDongshengResult, src => src.IS_DONGSH_RESULT) .Map(dest => dest.DongshengResultTime, src => src.DONGSH_RESULT_TIME.HasValue ? src.DONGSH_RESULT_TIME.Value.ToString("yyyy-MM-dd HH:mm:ss") : "") .Map(dest => dest.DongshengRecvReason, src => src.DONGSH_RECV_REASON); config.ForType() .Map(dest => dest.SortNo, src => src.SORT_NO) .Map(dest => dest.FeeCode, src => src.FEE_CODE) .Map(dest => dest.FeeName, src => src.FEE_NAME) .Map(dest => dest.Amount, src => src.AMOUNT) .Map(dest => dest.Currency, src => src.CURRENCY) .Map(dest => dest.AmountUSD, src => src.AMOUNT_USD) .Map(dest => dest.CTNALL, src => src.CTNALL) .Map(dest => dest.Qty, src => src.QTY) .Map(dest => dest.Unit, src => src.UNIT) .Map(dest => dest.Tax, src => src.TAX_TYPE) .Map(dest => dest.Rate, src => src.RATE); config.ForType() .Map(dest => dest.PKId, src => src.PK_ID) .Map(dest => dest.TaskId, src => src.TASK_ID) .Map(dest => dest.NumberFrom, src => src.NUMBER_FROM) .Map(dest => dest.NumberTo, src => src.NUMBER_TO) .Map(dest => dest.PageNumbers, src => src.PAGE_NUMBERS) .Map(dest => dest.PageSum, src => src.PAGE_SUM) .Map(dest => dest.MBLNo, src => src.MBL_NO) .Map(dest => dest.OriginalDownTime, src => src.ORIGINAL_DOWN_TIME.HasValue ? src.ORIGINAL_DOWN_TIME.Value.ToString("yyyy-MM-dd HH:mm:ss") : "") .Map(dest => dest.IssueType, src => src.ISSUE_TYPE) .Map(dest => dest.IssueTypeName, src => src.ISSUE_TYPE_NAME) .Map(dest => dest.CreatedTime, src => src.CreatedTime) .Map(dest => dest.UpdatedTime, src => src.UpdatedTime.HasValue ? src.UpdatedTime.Value.ToString("yyyy-MM-dd HH:mm:ss") : "") .Map(dest => dest.ResultNote, src => src.RESULT_NOTE) .Map(dest => dest.CreatedUserId, src => src.CreatedUserId.ToString()) .Map(dest => dest.CreatedUserName, src => src.CreatedUserName) .Map(dest => dest.UpdatedUserId, src => src.UpdatedUserId.ToString()) .Map(dest => dest.UpdatedUserName, src => src.UpdatedUserName); config.ForType() .Map(dest => dest.PK_ID, src => src.PKId) .Map(dest => dest.TASK_ID, src => src.TaskId) .Map(dest => dest.NUMBER_FROM, src => src.NumberFrom) .Map(dest => dest.NUMBER_TO, src => src.NumberTo) .Map(dest => dest.PAGE_NUMBERS, src => src.PageNumbers) .Map(dest => dest.PAGE_SUM, src => src.PageSum) .Map(dest => dest.MBL_NO, src => src.MBLNo) .Map(dest => dest.ORIGINAL_DOWN_TIME, src => src.OriginalDownTime) .Map(dest => dest.ISSUE_TYPE, src => src.IssueType) .Map(dest => dest.ISSUE_TYPE_NAME, src => src.IssueTypeName) .Map(dest => dest.CreatedTime, src => src.CreatedTime) .Map(dest => dest.UpdatedTime, src => src.UpdatedTime) .Map(dest => dest.RESULT_NOTE, src => src.ResultNote) .Map(dest => dest.CreatedUserId, src => src.CreatedUserId) .Map(dest => dest.CreatedUserName, src => src.CreatedUserName) .Map(dest => dest.UpdatedUserId, src => src.UpdatedUserId) .Map(dest => dest.UpdatedUserName, src => src.UpdatedUserName); config.ForType() .Map(dest => dest.Shipper, src => src.SHIPPER) .Map(dest => dest.Consignee, src => src.CONSIGNEE) .Map(dest => dest.NotifyParty, src => src.NOTIFYPARTY) .Map(dest => dest.Marks, src => src.MARKS) .Map(dest => dest.Description, src => src.DESCRIPTION) .Map(dest => dest.Remark, src => src.REMARK) .Map(dest => dest.BLFRT, src => src.BLFRT) .Map(dest => dest.Service, src => src.SERVICE) .Map(dest => dest.IssueType, src => src.ISSUETYPE) .Map(dest => dest.PortLoadId, src => src.PORT_LOADID) .Map(dest => dest.PortLoad, src => src.PORT_LOAD) .Map(dest => dest.PortDischargeId, src => src.PORT_DISCHARGEID) .Map(dest => dest.PortDischarge, src => src.PORT_DISCHARGE) .Map(dest => dest.PortTransId, src => src.PORT_TRANSID) .Map(dest => dest.PortTrans, src => src.PORT_TRANS) .Map(dest => dest.DestinationId, src => src.DESTINATION_ID) .Map(dest => dest.Destination, src => src.DESTINATION) .Map(dest => dest.KindPKGS, src => src.KIND_PKGS) .Map(dest => dest.PKGS, src => src.PKGS) .Map(dest => dest.ThirdPayAddr, src => src.THIRDPAYADDR); config.ForType() .Map(dest => dest.ContaNo, src => src.CONTA_NO) .Map(dest => dest.SealNo, src => src.SEAL_NO) .Map(dest => dest.PKGS, src => src.PKGS) .Map(dest => dest.KGS, src => src.KGS) .Map(dest => dest.CBM, src => src.CBM) .Map(dest => dest.ContaType, src => src.CONTA_TYPE) .Map(dest => dest.ContaTypeName, src => src.CONTA_TYPE_NAME); config.ForType() .Map(dest => dest.ContaNo, src => src.CONTA_NO) .Map(dest => dest.SealNo, src => src.SEAL_NO) .Map(dest => dest.ContaType, src => src.CONTA_TYPE) .Map(dest => dest.ContaTypeName, src => src.CONTA_TYPE_NAME) .Map(dest => dest.KGS, src => src.KGS) .Map(dest => dest.TareWeight, src => src.TAREWEIGHT) .Map(dest => dest.WeighKGs, src => src.WEIGHKGS) .Map(dest => dest.WeighType, src => src.WEIGHTYPE) .Map(dest => dest.MBLNo, src => src.MBL_NO); config.ForType() .Map(dest => dest.ContaNo, src => src.CONTA_NO) .Map(dest => dest.SealNo, src => src.SEAL_NO) .Map(dest => dest.ContaType, src => src.CONTA_TYPE) .Map(dest => dest.ContaTypeName, src => src.CONTA_TYPE_NAME) .Map(dest => dest.KGS, src => src.KGS) .Map(dest => dest.TareWeight, src => src.TAREWEIGHT) .Map(dest => dest.WeighKGs, src => src.WEIGHKGS) .Map(dest => dest.WeighType, src => src.WEIGHTYPE) .Map(dest => dest.MBLNo, src => src.MBL_NO); config.ForType() .Map(dest => dest.ContaNo, src => src.CNTRNO) .Map(dest => dest.SealNo, src => src.SEALNO) .Map(dest => dest.ContaType, src => src.CTNCODE) .Map(dest => dest.ContaTypeName, src => src.CTNALL) .Map(dest => dest.KGS, src => src.KGS) .Map(dest => dest.TareWeight, src => src.TAREWEIGHT) .Map(dest => dest.WeighKGs, src => src.WEIGHKGS) .Map(dest => dest.WeighType, src => src.WEIGHTYPE); config.ForType() .Map(dest => dest.CTNCODE, src => src.ContaType) .Map(dest => dest.CTNALL, src => src.ContaTypeName) .Map(dest => dest.TEU, src => src.TEU) .Map(dest => dest.CNTRNO, src => src.ContaNo) .Map(dest => dest.SEALNO, src => src.SealNo) .Map(dest => dest.PKGS, src => src.PKGs) .Map(dest => dest.KINDPKGS, src => src.KindPKGs) .Map(dest => dest.KGS, src => src.KGs) .Map(dest => dest.CBM, src => src.CBM) .Map(dest => dest.TAREWEIGHT, src => src.TareWeight) .Map(dest => dest.CTNSTATUS, src => src.ContaStatus) .Map(dest => dest.WEIGHTYPE, src => src.WeighType) .Map(dest => dest.WEIGHKGS, src => src.WeighKGs) .Map(dest => dest.WEIGHATTN, src => src.WeighAttn) .Map(dest => dest.VGMCONNCOM, src => src.VGMConnCom) .Map(dest => dest.WEIGHTEL, src => src.WeighTel) .Map(dest => dest.WEIGHDATE, src => src.WeighDate) .Map(dest => dest.VGMADDR, src => src.VGMAddr) .Map(dest => dest.VGMEMAIL, src => src.VGMEmail) .Map(dest => dest.REMARK, src => src.Remark); config.ForType() .Map(dest => dest.MBLNO, src => src.MasterBlNo) .Map(dest => dest.HBLNO, src => src.HouseBlNo) .Map(dest => dest.BOOKINGNO, src => src.BookingNo) .Map(dest => dest.CONTRACTNO, src => src.ContrNo) .Map(dest => dest.SERVICECONTRACTNO, src => src.ServContrNo) .Map(dest => dest.SHIPPERID, src => src.ShipperId) .Map(dest => dest.CONSIGNEEID, src => src.ConsigneeId) .Map(dest => dest.NOTIFYPARTYID, src => src.NotifyPartyId) .Map(dest => dest.SHIPPER, src => src.Shipper) .Map(dest => dest.CONSIGNEE, src => src.Consignee) .Map(dest => dest.NOTIFYPARTY, src => src.NotifyParty) .Map(dest => dest.NOTIFYPARTY2, src => src.NotifyPrt2) .Map(dest => dest.YARDID, src => src.YardId) .Map(dest => dest.YARD, src => src.Yard) .Map(dest => dest.VESSELID, src => src.VesselId) .Map(dest => dest.VESSEL, src => src.Vessel) .Map(dest => dest.VOYNO, src => src.Voyno) .Map(dest => dest.VOYNOINNER, src => src.VoynoIn) .Map(dest => dest.ETD, src => src.ETD.GetDateTime(nameof(TaskBookingOrderDto.ETD))) .Map(dest => dest.ATD, src => src.ATD.GetDateTime(nameof(TaskBookingOrderDto.ATD))) .Map(dest => dest.ETA, src => src.ETA.GetDateTime(nameof(TaskBookingOrderDto.ETA))) .Map(dest => dest.CLOSINGDATE, src => src.ClosingDate.GetDateTime(nameof(TaskBookingOrderDto.ClosingDate))) .Map(dest => dest.CLOSEDOCDATE, src => src.CloseDocDate.GetDateTime(nameof(TaskBookingOrderDto.CloseDocDate))) .Map(dest => dest.CLOSEVGMDATE, src => src.CloseVGMDate.GetDateTime(nameof(TaskBookingOrderDto.CloseVGMDate))) .Map(dest => dest.PLACERECEIPTID, src => src.PlaceReceiptId) .Map(dest => dest.PLACERECEIPT, src => src.PlaceReceipt) .Map(dest => dest.PORTLOADID, src => src.PortLoadId) .Map(dest => dest.PORTLOAD, src => src.PortLoad) .Map(dest => dest.PORTDISCHARGEID, src => src.PortDischargeId) .Map(dest => dest.PORTDISCHARGE, src => src.PortDischarge) .Map(dest => dest.PLACEDELIVERYID, src => src.PlaceDeliveryId) .Map(dest => dest.PLACEDELIVERY, src => src.PlaceDelivery) .Map(dest => dest.DESTINATIONID, src => src.DestinationId) .Map(dest => dest.DESTINATION, src => src.Destination) .Map(dest => dest.NOBILL, src => src.NoBill) .Map(dest => dest.COPYNOBILL, src => src.CopyNoBill) .Map(dest => dest.ISSUETYPE, src => src.IssueType) .Map(dest => dest.ISSUEDATE, src => src.IssueDate.GetDateTime(nameof(TaskBookingOrderDto.IssueDate))) .Map(dest => dest.ISSUEPLACEID, src => src.IssuePlaceId) .Map(dest => dest.ISSUEPLACE, src => src.IssuePlace) .Map(dest => dest.BLFRT, src => src.Blfrt) .Map(dest => dest.PREPARDAT, src => src.PrepardAt) .Map(dest => dest.PAYABLEAT, src => src.PayableAt) .Map(dest => dest.SERVICE, src => src.Service) .Map(dest => dest.MARKS, src => src.Marks) .Map(dest => dest.HSCODE, src => src.HsCode) .Map(dest => dest.DESCRIPTION, src => src.GoodsDescription) .Map(dest => dest.PKGS, src => src.PKGs) .Map(dest => dest.KINDPKGS, src => src.KindPKGs) .Map(dest => dest.KGS, src => src.KGs) .Map(dest => dest.CBM, src => src.CBM) .Map(dest => dest.TOTALNO, src => src.TotalNO) .Map(dest => dest.CNTRTOTAL, src => src.CntrTotal) .Map(dest => dest.CARRIERID, src => src.CarrierId) .Map(dest => dest.CARRIER, src => src.Carrier) .Map(dest => dest.CARGOID, src => src.CargoId) .Map(dest => dest.DCLASS, src => src.DClass) .Map(dest => dest.DUNNO, src => src.DUnno) .Map(dest => dest.DPAGE, src => src.DPage) .Map(dest => dest.DLABEL, src => src.DLabel) .Map(dest => dest.LINKMAN, src => src.DLinkMan) .Map(dest => dest.TEMPID, src => src.TempId) .Map(dest => dest.TEMPSET, src => src.TempSet) .Map(dest => dest.REEFERF, src => src.Reeferf) .Map(dest => dest.HUMIDITY, src => src.Humidity) .Map(dest => dest.TEMPMIN, src => src.TempMin) .Map(dest => dest.TEMPMAX, src => src.TempMax) .Map(dest => dest.ISCONTAINERSOC, src => src.IsContaSOC) .Map(dest => dest.SOREMARK, src => src.SORemark) .Map(dest => dest.SIREMARK, src => src.SIRemark) .Map(dest => dest.YARDREMARK, src => src.YardRemark) .Map(dest => dest.SHIPPERNAME, src => src.ShipperName) .Map(dest => dest.SHIPPERADDR1, src => src.ShipperAddr1) .Map(dest => dest.SHIPPERADDR2, src => src.ShipperAddr2) .Map(dest => dest.SHIPPERADDR3, src => src.ShipperAddr3) .Map(dest => dest.SHIPPERCITY, src => src.ShipperCity) .Map(dest => dest.SHIPPERPROVINCE, src => src.ShipperProvice) .Map(dest => dest.SHIPPERPOSTCODE, src => src.ShipperPostCode) .Map(dest => dest.SHIPPERCOUNTRY, src => src.ShipperCountry) .Map(dest => dest.SHIPPERATTN, src => src.ShipperAttn) .Map(dest => dest.SHIPPERTEL, src => src.ShipperTel) .Map(dest => dest.CONSIGNEENAME, src => src.ConsigneeName) .Map(dest => dest.CONSIGNEEADDR1, src => src.ConsigneeAddr1) .Map(dest => dest.CONSIGNEEADDR2, src => src.ConsigneeAddr2) .Map(dest => dest.CONSIGNEEADDR3, src => src.ConsigneeAddr3) .Map(dest => dest.CONSIGNEECITY, src => src.ConsigneeCity) .Map(dest => dest.CONSIGNEEPROVINCE, src => src.ConsigneeProvince) .Map(dest => dest.CONSIGNEEPOSTCODE, src => src.ConsigneePostCode) .Map(dest => dest.CONSIGNEERCOUNTRY, src => src.ConsigneeCountry) .Map(dest => dest.CONSIGNEEATTN, src => src.ConsigneeAttn) .Map(dest => dest.CONSIGNEETEL, src => src.ConsigneeTel) .Map(dest => dest.NOTIFYPARTYNAME, src => src.NotifyPartyName) .Map(dest => dest.NOTIFYPARTYADDR1, src => src.NotifyPartyAddr1) .Map(dest => dest.NOTIFYPARTYADDR2, src => src.NotifyPartyAddr2) .Map(dest => dest.NOTIFYPARTYADDR3, src => src.NotifyPartyAddr3) .Map(dest => dest.NOTIFYPARTYCITY, src => src.NotifyPartyCity) .Map(dest => dest.NOTIFYPARTYPROVINCE, src => src.NotifyPartyProvince) .Map(dest => dest.NOTIFYPARTYPOSTCODE, src => src.NotifyPartyPostCode) .Map(dest => dest.NOTIFYPARTYCOUNTRY, src => src.NotifyPartyCountry) .Map(dest => dest.NOTIFYPARTYATTN, src => src.NotifyPartyAttn) .Map(dest => dest.NOTIFYPARTYTEL, src => src.NotifyPartyTel) .Map(dest => dest.CUSTOMSER, src => src.CustomsER) .Map(dest => dest.TRUCKER, src => src.TruckER) .Map(dest => dest.AGENTID, src => src.AgentId) .Map(dest => dest.FORWARDERID, src => src.ForwarderId) .Map(dest => dest.SHIPAGENCYID, src => src.ShipAgencyId) .Map(dest => dest.CUSTOMSERID, src => src.CustomsERId) .Map(dest => dest.TRUCKERID, src => src.TruckERId) .Map(dest => dest.AGENTNAME, src => src.AgentName) .Map(dest => dest.CONSIGNEEDOORADDR, src => src.ConsigneeDoorAddr) .Map(dest => dest.SHIPPERDOORADDR, src => src.ShipperDoorAddr) .Map(dest => dest.SCACCODE, src => src.SCACCode) .Map(dest => dest.ITNCODE, src => src.ITNCode) .Map(dest => dest.PREPARDATID, src => src.PrePardAtId) .Map(dest => dest.PAYABLEATID, src => src.PayableAtId) .Map(dest => dest.CUSTNO, src => src.CustNo) .Map(dest => dest.TRANSPORTID, src => src.TransportId) .Map(dest => dest.TRANSPORT, src => src.Transport) .Map(dest => dest.THIRDPAYADDR, src => src.ThirdPayAddr) .Map(dest => dest.YARDCONTRACTTEL, src => src.YardContractTel) .Map(dest => dest.YARDCONTRACTEMAIL, src => src.YardContractEmail) .Map(dest => dest.FEESELF, src => src.FeeSelf) .Map(dest => dest.LANECODE, src => src.LaneCode) .Map(dest => dest.LANENAME, src => src.LaneName) .Map(dest => dest.FREIGHTPAYER, src => src.FreightPayer); config.ForType() .Map(dest => dest.CTNCODE, src => src.CONTA_TYPE) .Map(dest => dest.CTNALL, src => src.CONTA_TYPE_NAME) .Map(dest => dest.CNTRNO, src => src.CONTA_NO) .Map(dest => dest.SEALNO, src => src.SEAL_NO) .Map(dest => dest.KGS, src => src.KGS) .Map(dest => dest.TAREWEIGHT, src => src.TAREWEIGHT) .Map(dest => dest.WEIGHTYPE, src => src.WEIGHTYPE) .Map(dest => dest.WEIGHKGS, src => src.WEIGHKGS); } } }