CostCompareColDTO.java
package com.tradecloud.dto.costing.costsetup;
import com.tradecloud.domain.base.utils.MathUtils;
import java.math.BigDecimal;
public class CostCompareColDTO {
private String name;
private BigDecimal amount;
private BigDecimal percentageDifference;
private String freightSp;
private String transporterSp;
private String clearingSp;
private String costingName;
private boolean showSp;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public BigDecimal getAmount() {
return amount;
}
public void setAmount(BigDecimal amount) {
this.amount = amount;
}
public String getFreightSp() {
return freightSp;
}
public void setFreightSp(String freightSp) {
this.freightSp = freightSp;
}
public String getTransporterSp() {
return transporterSp;
}
public void setTransporterSp(String transporterSp) {
this.transporterSp = transporterSp;
}
public String getClearingSp() {
return clearingSp;
}
public void setClearingSp(String clearingSp) {
this.clearingSp = clearingSp;
}
public BigDecimal getPercentageDifference() {
return percentageDifference;
}
public void setPercentageDifference(BigDecimal percentageDifference) {
this.percentageDifference = percentageDifference;
}
public String getCostingName() {
return costingName;
}
public void setCostingName(String costingName) {
this.costingName = costingName;
}
public boolean isShowSp() {
return showSp;
}
public void setShowSp(boolean showSp) {
this.showSp = showSp;
}
public boolean isZeroAmount() {
return amount != null && MathUtils.isZero(amount);
}
}