ShipmentContainerDTO.java
package com.tradecloud.dto.api.shipment;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.tradecloud.dto.api.EventDTO;
import com.tradecloud.schema.WeightType;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.ANY;
import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE;
@JsonAutoDetect(fieldVisibility = ANY, getterVisibility = NONE, setterVisibility = NONE)
public class ShipmentContainerDTO extends com.tradecloud.schema.logistics.ShipmentContainer {
protected WeightType netWeight;
protected BigDecimal numberOfDaysStorage;
protected String placeOfDischarge;
//disbursement
protected Date customsEntryDate;
protected Date customsExitDate;
protected boolean stoppedByCustoms;
protected boolean customStopUnpacked;
protected Date dischargeDate;
protected Date carrierReleaseDate;
protected Date overstayAndStorageFreePeriodEnd;
//delivery dates
protected Date transporterAvailabilityDate;
protected Date pickUpDate;
protected Date etaAtDepot;
protected Date ataAtDepot;
protected Date etaAtFinalDestination;
protected Date ataAtFinalDestination;
protected Date scheduledDateAtFinalDestination;
protected Date dateUnpacked;
protected Date turnInDate;
protected boolean normalTurnIn;
protected String turnInDepot;
protected Date turnInPeriodEnd;
//packing list
protected BigDecimal numberOfPackages=BigDecimal.ZERO;
protected BigDecimal unitQuantity= BigDecimal.ZERO;
protected List<ContainerOrderDTO> orders;
private String transporterShippingMode;
private PlaceAddressDTO unpackDepot;
private Long id;
List<EventDTO> eventDTOList;
protected List<AddedCommentDTO> comments;
public WeightType getNetWeight() {
return netWeight;
}
public void setNetWeight(WeightType netWeight) {
this.netWeight = netWeight;
}
public BigDecimal getNumberOfDaysStorage() {
return numberOfDaysStorage;
}
public void setNumberOfDaysStorage(BigDecimal numberOfDaysStorage) {
this.numberOfDaysStorage = numberOfDaysStorage;
}
public Date getCustomsEntryDate() {
return customsEntryDate;
}
public void setCustomsEntryDate(Date customsEntryDate) {
this.customsEntryDate = customsEntryDate;
}
public boolean isStoppedByCustoms() {
return stoppedByCustoms;
}
public void setStoppedByCustoms(boolean stoppedByCustoms) {
this.stoppedByCustoms = stoppedByCustoms;
}
public boolean isCustomStopUnpacked() {
return customStopUnpacked;
}
public void setCustomStopUnpacked(boolean customStopUnpacked) {
this.customStopUnpacked = customStopUnpacked;
}
public Date getDischargeDate() {
return dischargeDate;
}
public void setDischargeDate(Date dischargeDate) {
this.dischargeDate = dischargeDate;
}
public Date getCarrierReleaseDate() {
return carrierReleaseDate;
}
public void setCarrierReleaseDate(Date carrierReleaseDate) {
this.carrierReleaseDate = carrierReleaseDate;
}
public Date getOverstayAndStorageFreePeriodEnd() {
return overstayAndStorageFreePeriodEnd;
}
public void setOverstayAndStorageFreePeriodEnd(Date overstayAndStorageFreePeriodEnd) {
this.overstayAndStorageFreePeriodEnd = overstayAndStorageFreePeriodEnd;
}
public Date getTransporterAvailabilityDate() {
return transporterAvailabilityDate;
}
public void setTransporterAvailabilityDate(Date transporterAvailabilityDate) {
this.transporterAvailabilityDate = transporterAvailabilityDate;
}
public Date getPickUpDate() {
return pickUpDate;
}
public void setPickUpDate(Date pickUpDate) {
this.pickUpDate = pickUpDate;
}
public Date getEtaAtDepot() {
return etaAtDepot;
}
public void setEtaAtDepot(Date etaAtDepot) {
this.etaAtDepot = etaAtDepot;
}
public Date getEtaAtFinalDestination() {
return etaAtFinalDestination;
}
public void setEtaAtFinalDestination(Date etaAtFinalDestination) {
this.etaAtFinalDestination = etaAtFinalDestination;
}
public Date getScheduledDateAtFinalDestination() {
return scheduledDateAtFinalDestination;
}
public void setScheduledDateAtFinalDestination(Date scheduledDateAtFinalDestination) {
this.scheduledDateAtFinalDestination = scheduledDateAtFinalDestination;
}
public Date getDateUnpacked() {
return dateUnpacked;
}
public void setDateUnpacked(Date dateUnpacked) {
this.dateUnpacked = dateUnpacked;
}
public Date getTurnInDate() {
return turnInDate;
}
public void setTurnInDate(Date turnInDate) {
this.turnInDate = turnInDate;
}
public boolean isNormalTurnIn() {
return normalTurnIn;
}
public void setNormalTurnIn(boolean normalTurnIn) {
this.normalTurnIn = normalTurnIn;
}
public Date getTurnInPeriodEnd() {
return turnInPeriodEnd;
}
public void setTurnInPeriodEnd(Date turnInPeriodEnd) {
this.turnInPeriodEnd = turnInPeriodEnd;
}
public Date getCustomsExitDate() {
return customsExitDate;
}
public void setCustomsExitDate(Date customsExitDate) {
this.customsExitDate = customsExitDate;
}
public Date getAtaAtDepot() {
return ataAtDepot;
}
public void setAtaAtDepot(Date ataAtDepot) {
this.ataAtDepot = ataAtDepot;
}
public String getTurnInDepot() {
return turnInDepot;
}
public void setTurnInDepot(String turnInDepot) {
this.turnInDepot = turnInDepot;
}
public String getPlaceOfDischarge() {
return placeOfDischarge;
}
public void setPlaceOfDischarge(String placeOfDischarge) {
this.placeOfDischarge = placeOfDischarge;
}
public Date getAtaAtFinalDestination() {
return ataAtFinalDestination;
}
public void setAtaAtFinalDestination(Date ataAtFinalDestination) {
this.ataAtFinalDestination = ataAtFinalDestination;
}
public BigDecimal getNumberOfPackages() {
return numberOfPackages;
}
public void setNumberOfPackages(BigDecimal numberOfPackages) {
this.numberOfPackages = numberOfPackages;
}
public BigDecimal getUnitQuantity() {
return unitQuantity;
}
public void setUnitQuantity(BigDecimal unitQuantity) {
this.unitQuantity = unitQuantity;
}
@Override
public List getOrders() {
if (orders == null) {
orders = new ArrayList();
}
return orders;
}
public void setOrders(List<ContainerOrderDTO> orders) {
this.orders = orders;
}
public String getTransporterShippingMode() {
return transporterShippingMode;
}
public void setTransporterShippingMode(String transporterShippingMode) {
this.transporterShippingMode = transporterShippingMode;
}
public PlaceAddressDTO getUnpackDepot() {
return unpackDepot;
}
public void setUnpackDepot(PlaceAddressDTO unpackDepot) {
this.unpackDepot = unpackDepot;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public List<EventDTO> getEventDTOList() {
return eventDTOList;
}
public void setEventDTOList(List<EventDTO> eventDTOList) {
this.eventDTOList = eventDTOList;
}
public List<AddedCommentDTO> getComments() {
return comments;
}
public void setComments(List<AddedCommentDTO> comments) {
this.comments = comments;
}
}