|
|
@ -91,6 +91,51 @@ namespace Myshipping.Application
|
|
|
|
.Map(dest => dest.KINDPKGS, src => src.KINDPKGS)
|
|
|
|
.Map(dest => dest.KINDPKGS, src => src.KINDPKGS)
|
|
|
|
.Map(dest => dest.KGS, src => src.KGS.HasValue ? src.KGS.Value : 0)
|
|
|
|
.Map(dest => dest.KGS, src => src.KGS.HasValue ? src.KGS.Value : 0)
|
|
|
|
.Map(dest => dest.CBM, src => src.CBM.HasValue ? src.CBM.Value : 0);
|
|
|
|
.Map(dest => dest.CBM, src => src.CBM.HasValue ? src.CBM.Value : 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.ForType<MSKBookingDto, BookingDeliveryRecord>()
|
|
|
|
|
|
|
|
.Map(dest => dest.CARRIERID, src => src.carrierId)
|
|
|
|
|
|
|
|
.Map(dest => dest.BookingId, src => src.bookingId)
|
|
|
|
|
|
|
|
.Map(dest => dest.PRICE_REFERENCE, src => src.priceReference)
|
|
|
|
|
|
|
|
.Map(dest => dest.PRODUCT_CODE, src => src.productCode)
|
|
|
|
|
|
|
|
.Map(dest => dest.SENDER, src => src.sender)
|
|
|
|
|
|
|
|
.Map(dest => dest.BOOKEDBY_COMPANY_NAME, src => src.bookedByCompanyName)
|
|
|
|
|
|
|
|
.Map(dest => dest.BOOKEDBY_COMPANY_PARTYCODE, src => src.bookedByMaerskPartyCode)
|
|
|
|
|
|
|
|
.Map(dest => dest.BOOKEDBY_COMPANY_CONTACT, src => src.bookedByCompanyContactName)
|
|
|
|
|
|
|
|
.Map(dest => dest.BOOKEDBY_COMPANY_CONTACT_EMAIL, src => src.bookedByCompanyContactEmail)
|
|
|
|
|
|
|
|
.Map(dest => dest.IS_BOOKING_PART_OWN_PRICE, src => src.isBookingPartOwnPrice)
|
|
|
|
|
|
|
|
.Map(dest => dest.PRICE_OWNER_COMPANY_NAME, src => src.priceOwnerCompanyName)
|
|
|
|
|
|
|
|
.Map(dest => dest.PRICE_OWNER_COMPANY_PARTYCODE, src => src.priceOwnerMaerskPartyCode)
|
|
|
|
|
|
|
|
.Map(dest => dest.PRICE_OWNER_COMPANY_CONTACT, src => src.priceOwnerContactName)
|
|
|
|
|
|
|
|
.Map(dest => dest.PRICE_OWNER_COMPANY_CONTACT_EMAIL, src => src.priceOwnerContactEmail)
|
|
|
|
|
|
|
|
.Map(dest => dest.CARRIER_CODE, src => src.carrierCode)
|
|
|
|
|
|
|
|
.Map(dest => dest.EARLIEST_DEPARTURE_DATE, src => src.earliestDepartureDate)
|
|
|
|
|
|
|
|
.Map(dest => dest.EXPORT_SERVICE_MODE, src => src.exportServiceMode)
|
|
|
|
|
|
|
|
.Map(dest => dest.IMPORT_SERVICE_MODE, src => src.importServiceMode)
|
|
|
|
|
|
|
|
.Map(dest => dest.PLACERECEIPT_CITY, src => src.placeOfReceiptCityName)
|
|
|
|
|
|
|
|
.Map(dest => dest.PLACERECEIPT_UNLOC_CODE, src => src.placeOfReceiptUnLocCode)
|
|
|
|
|
|
|
|
.Map(dest => dest.PLACEDELIVERY_CITY, src => src.placeOfDeliveryCityName)
|
|
|
|
|
|
|
|
.Map(dest => dest.PLACEDELIVERY_UNLOC_CODE, src => src.placeOfDeliveryUnLocCode)
|
|
|
|
|
|
|
|
.Map(dest => dest.ETD, src => src.originDepartureDateTimeLocal)
|
|
|
|
|
|
|
|
.Map(dest => dest.ETA, src => src.destinationArrivalDateTimeLocal)
|
|
|
|
|
|
|
|
.Map(dest => dest.VESSEL, src => src.vesselName)
|
|
|
|
|
|
|
|
.Map(dest => dest.VESSEL_CODE, src => src.carrierVesselCode)
|
|
|
|
|
|
|
|
.Map(dest => dest.VOYNO, src => src.exportVoyageNumber)
|
|
|
|
|
|
|
|
.Map(dest => dest.TRANSPORT_MODE, src => src.transportMode)
|
|
|
|
|
|
|
|
.Map(dest => dest.TOTAL_CARGO_WEIGHT, src => src.totalCargoWeight)
|
|
|
|
|
|
|
|
.Map(dest => dest.NO_OF_PROBES, src => src.noOfProbes)
|
|
|
|
|
|
|
|
.Map(dest => dest.TEMPSET, src => src.temperature)
|
|
|
|
|
|
|
|
.Map(dest => dest.VENT, src => src.ventilation)
|
|
|
|
|
|
|
|
.Map(dest => dest.HUMIDITY, src => src.humidity)
|
|
|
|
|
|
|
|
.Map(dest => dest.COMMODITY_CODE_TYPE, src => src.commodityCodeType)
|
|
|
|
|
|
|
|
.Map(dest => dest.GOODSCODE, src => src.commodityCode)
|
|
|
|
|
|
|
|
.Map(dest => dest.GOODSNAME, src => src.commodityName);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.ForType<MSKBookingCtnInfo, BookingDeliveryRecordCtn>()
|
|
|
|
|
|
|
|
.Map(dest => dest.CTN_CODE, src => src.ctnCode)
|
|
|
|
|
|
|
|
.Map(dest => dest.CTN_NUM, src => src.ctnNum)
|
|
|
|
|
|
|
|
.Map(dest => dest.CTN_SUFFER_WEIGHT, src => src.ctnSufferWeight);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|