|
|
|
|
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 OceanBookingMapper: IRegister
|
|
|
|
|
{
|
|
|
|
|
public void Register(TypeAdapterConfig config)
|
|
|
|
|
{
|
|
|
|
|
config.ForType<BookingOrder, RulesEngineOrderBookingMainBusinessInfo>()
|
|
|
|
|
.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);
|
|
|
|
|
//.Map(dest => dest.ShipperTaxNo, src => src.tax)
|
|
|
|
|
//.Map(dest => dest.ConsigneeTaxNo, src => src.consig)
|
|
|
|
|
//.Map(dest => dest.NotifyPartyTaxNo, src => src.NotifyPartyTaxNo)
|
|
|
|
|
//.Map(dest => dest.IsATDChangeIssueType, src => src.IsATDChangeIssueType)
|
|
|
|
|
//.Map(dest => dest.IsEngChinaLineBar, src => src.IsEngChinaLineBar)
|
|
|
|
|
//.Map(dest => dest.IsDoubleShipper, src => src.IsDoubleShipper)
|
|
|
|
|
//.Map(dest => dest.IsFCLAndLCLMix, src => src.IsFCLAndLCLMix)
|
|
|
|
|
//.Map(dest => dest.IsMutipleGoods, src => src.IsMutipleGoods)
|
|
|
|
|
//.Map(dest => dest.IsContaLCL, src => src.IsContaLCL);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.ForType<BookingOrderDto, RulesEngineOrderBookingMainBusinessInfo>()
|
|
|
|
|
.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.PORTLOAD)
|
|
|
|
|
.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<BookingCtn, RulesEngineOrderBookingContaInfo>()
|
|
|
|
|
.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<BookingCtnDto, RulesEngineOrderBookingContaInfo>()
|
|
|
|
|
.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<BookingCtnDetail, RulesEngineOrderBookingContaCargoInfo>()
|
|
|
|
|
.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<BookingCtnDetailDto, RulesEngineOrderBookingContaCargoInfo>()
|
|
|
|
|
.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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|