ElcGlcVariance.java
package com.tradecloud.domain.costing.clean;
import com.tradecloud.domain.common.Currency;
import javax.persistence.Embeddable;
import javax.persistence.ManyToOne;
import java.math.BigDecimal;
import java.util.Date;
@Embeddable
public class ElcGlcVariance {
private BigDecimal rateOfExchange;
private BigDecimal value;
@ManyToOne
private Currency currency;
private Date settlementDate;
private BigDecimal percentage;
public BigDecimal getRateOfExchange() {
return rateOfExchange;
}
public void setRateOfExchange(BigDecimal rateOfExchange) {
this.rateOfExchange = rateOfExchange;
}
public BigDecimal getValue() {
return value;
}
public void setValue(BigDecimal value) {
this.value = value;
}
public Currency getCurrency() {
return currency;
}
public void setCurrency(Currency currency) {
this.currency = currency;
}
public Date getSettlementDate() {
return settlementDate;
}
public void setSettlementDate(Date settlementDate) {
this.settlementDate = settlementDate;
}
public BigDecimal getPercentage() {
return percentage;
}
public void setPercentage(BigDecimal percentage) {
this.percentage = percentage;
}
}