EstimateCostSummaryDTO.java
package com.tradecloud.dto.api;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import io.swagger.annotations.ApiModel;
import java.math.BigDecimal;
@ApiModel(description ="This model will be used for both view and override costing"+"<br/>"+ CommonAPIMessage.IGNORE_READ_ONLY_FIELDS)
public class EstimateCostSummaryDTO extends CostSummaryDTO {
private BigDecimal remainingLogisticsCosts;
@JsonPropertyDescription(value = "required when dealing with multiple costing")
private String freightForwarder;
private BigDecimal customsRateOfExchange=BigDecimal.ZERO;
@Override
public BigDecimal getRemainingLogisticsCosts() {
return remainingLogisticsCosts;
}
@Override
public void setRemainingLogisticsCosts(BigDecimal remainingLogisticsCosts) {
this.remainingLogisticsCosts = remainingLogisticsCosts;
}
public String getFreightForwarder() {
return freightForwarder;
}
public void setFreightForwarder(String freightForwarder) {
this.freightForwarder = freightForwarder;
}
public BigDecimal getCustomsRateOfExchange() {
return customsRateOfExchange;
}
public void setCustomsRateOfExchange(BigDecimal customsRateOfExchange) {
this.customsRateOfExchange = customsRateOfExchange;
}
}