ActualItemCosting.java
package com.tradecloud.domain.costing.actual;
import com.tradecloud.common.base.PersistenceBase;
/**
* ActualItemCosting generated by hbm2java.
*/
public class ActualItemCosting extends PersistenceBase {
private static final long serialVersionUID = 1L;
private Integer parentId;
private byte costableType;
private int costableId;
private String costingCurrency;
private String saleCurrency;
private double unitQuantity;
private double totalCostInCc;
private double totalMarginInCc;
private double totalRevenueInCc;
private double totalMarginInSc;
private double totalRevenueInSc;
private Double oldTotalMarginInCc;
private Double oldTotalMarginInSc;
private Double totalCostInCcexSalesRelated;
public ActualItemCosting() {
}
public ActualItemCosting(byte costableType, int costableId, double unitQuantity, double totalCostInCc, double totalMarginInCc,
double totalRevenueInCc, double totalMarginInSc, double totalRevenueInSc) {
this.costableType = costableType;
this.costableId = costableId;
this.unitQuantity = unitQuantity;
this.totalCostInCc = totalCostInCc;
this.totalMarginInCc = totalMarginInCc;
this.totalRevenueInCc = totalRevenueInCc;
this.totalMarginInSc = totalMarginInSc;
this.totalRevenueInSc = totalRevenueInSc;
}
public ActualItemCosting(Integer parentId, byte costableType, int costableId, String costingCurrency, String saleCurrency, double unitQuantity,
double totalCostInCc, double totalMarginInCc, double totalRevenueInCc, double totalMarginInSc, double totalRevenueInSc,
Double oldTotalMarginInCc, Double oldTotalMarginInSc, Double totalCostInCcexSalesRelated) {
this.parentId = parentId;
this.costableType = costableType;
this.costableId = costableId;
this.costingCurrency = costingCurrency;
this.saleCurrency = saleCurrency;
this.unitQuantity = unitQuantity;
this.totalCostInCc = totalCostInCc;
this.totalMarginInCc = totalMarginInCc;
this.totalRevenueInCc = totalRevenueInCc;
this.totalMarginInSc = totalMarginInSc;
this.totalRevenueInSc = totalRevenueInSc;
this.oldTotalMarginInCc = oldTotalMarginInCc;
this.oldTotalMarginInSc = oldTotalMarginInSc;
this.totalCostInCcexSalesRelated = totalCostInCcexSalesRelated;
}
public Integer getParentId() {
return this.parentId;
}
public void setParentId(Integer parentId) {
this.parentId = parentId;
}
public byte getCostableType() {
return this.costableType;
}
public void setCostableType(byte costableType) {
this.costableType = costableType;
}
public int getCostableId() {
return this.costableId;
}
public void setCostableId(int costableId) {
this.costableId = costableId;
}
public String getCostingCurrency() {
return this.costingCurrency;
}
public void setCostingCurrency(String costingCurrency) {
this.costingCurrency = costingCurrency;
}
public String getSaleCurrency() {
return this.saleCurrency;
}
public void setSaleCurrency(String saleCurrency) {
this.saleCurrency = saleCurrency;
}
public double getUnitQuantity() {
return this.unitQuantity;
}
public void setUnitQuantity(double unitQuantity) {
this.unitQuantity = unitQuantity;
}
public double getTotalCostInCc() {
return this.totalCostInCc;
}
public void setTotalCostInCc(double totalCostInCc) {
this.totalCostInCc = totalCostInCc;
}
public double getTotalMarginInCc() {
return this.totalMarginInCc;
}
public void setTotalMarginInCc(double totalMarginInCc) {
this.totalMarginInCc = totalMarginInCc;
}
public double getTotalRevenueInCc() {
return this.totalRevenueInCc;
}
public void setTotalRevenueInCc(double totalRevenueInCc) {
this.totalRevenueInCc = totalRevenueInCc;
}
public double getTotalMarginInSc() {
return this.totalMarginInSc;
}
public void setTotalMarginInSc(double totalMarginInSc) {
this.totalMarginInSc = totalMarginInSc;
}
public double getTotalRevenueInSc() {
return this.totalRevenueInSc;
}
public void setTotalRevenueInSc(double totalRevenueInSc) {
this.totalRevenueInSc = totalRevenueInSc;
}
public Double getOldTotalMarginInCc() {
return this.oldTotalMarginInCc;
}
public void setOldTotalMarginInCc(Double oldTotalMarginInCc) {
this.oldTotalMarginInCc = oldTotalMarginInCc;
}
public Double getOldTotalMarginInSc() {
return this.oldTotalMarginInSc;
}
public void setOldTotalMarginInSc(Double oldTotalMarginInSc) {
this.oldTotalMarginInSc = oldTotalMarginInSc;
}
public Double getTotalCostInCcexSalesRelated() {
return this.totalCostInCcexSalesRelated;
}
public void setTotalCostInCcexSalesRelated(Double totalCostInCcexSalesRelated) {
this.totalCostInCcexSalesRelated = totalCostInCcexSalesRelated;
}
}