ContainerDTO.java

package com.tradecloud.dto.api.plannedshipment;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonRootName;

import javax.xml.bind.annotation.XmlTransient;
import java.math.BigDecimal;

@JsonRootName(value = "containerApiDTO")
@XmlTransient
public class ContainerDTO {

    @JsonProperty(required = false)
    @JsonPropertyDescription(value = "The container type.")
    private String containerType;

    @JsonProperty(required = false)
    @JsonPropertyDescription(value = "Total Volume.")
    private BigDecimal totalVolume;

    @JsonProperty(required = false)
    @JsonPropertyDescription(value = "Total Weight.")
    private BigDecimal totalWeight;

    @JsonProperty(required = false)
    @JsonPropertyDescription(value = "The quantity of a specific container.")
    private BigDecimal quantity;

    public String getContainerType() {
        return containerType;
    }

    public void setContainerType(String containerType) {
        this.containerType = containerType;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getTotalVolume() {
        return totalVolume;
    }

    public void setTotalVolume(BigDecimal totalVolume) {
        this.totalVolume = totalVolume;
    }

    public BigDecimal getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(BigDecimal totalWeight) {
        this.totalWeight = totalWeight;
    }

}