net.nan21.dnet.module.bd.currency.ds.model.CurrencyXRateAverageDs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nan21.dnet.module.bd.presenter Show documentation
Show all versions of nan21.dnet.module.bd.presenter Show documentation
Base data module presentation layer.
The newest version!
/*
* DNet eBusiness Suite
* Copyright: 2010-2013 Nan21 Electronics SRL. All rights reserved.
* Use is subject to license terms.
*/
package net.nan21.dnet.module.bd.currency.ds.model;
import java.util.Date;
import net.nan21.dnet.core.api.annotation.Ds;
import net.nan21.dnet.core.api.annotation.DsField;
import net.nan21.dnet.core.api.annotation.Param;
import net.nan21.dnet.core.api.annotation.RefLookup;
import net.nan21.dnet.core.api.annotation.RefLookups;
import net.nan21.dnet.core.presenter.model.base.AbstractAuditableDs;
import net.nan21.dnet.module.bd.currency.domain.entity.CurrencyXRateAverage;
import net.nan21.dnet.module.bd.currency.domain.entity.CurrencyXRateProvider;
@Ds(entity = CurrencyXRateAverage.class)
@RefLookups({@RefLookup(refId = CurrencyXRateAverageDs.f_providerId, namedQuery = CurrencyXRateProvider.NQ_FIND_BY_CODE, params = {@Param(name = "pCode", field = CurrencyXRateAverageDs.f_providerCode)})})
public class CurrencyXRateAverageDs
extends
AbstractAuditableDs {
public static final String f_sourceId = "sourceId";
public static final String f_sourceCode = "sourceCode";
public static final String f_targetId = "targetId";
public static final String f_targetCode = "targetCode";
public static final String f_validFrom = "validFrom";
public static final String f_validTo = "validTo";
public static final String f_value = "value";
public static final String f_providerId = "providerId";
public static final String f_providerCode = "providerCode";
@DsField(join = "left", path = "source.id")
private Long sourceId;
@DsField(join = "left", path = "source.code")
private String sourceCode;
@DsField(join = "left", path = "target.id")
private Long targetId;
@DsField(join = "left", path = "target.code")
private String targetCode;
@DsField
private Date validFrom;
@DsField
private Date validTo;
@DsField
private Float value;
@DsField(join = "left", path = "provider.id")
private Long providerId;
@DsField(join = "left", path = "provider.code")
private String providerCode;
public CurrencyXRateAverageDs() {
super();
}
public CurrencyXRateAverageDs(CurrencyXRateAverage e) {
super(e);
}
public Long getSourceId() {
return this.sourceId;
}
public void setSourceId(Long sourceId) {
this.sourceId = sourceId;
}
public String getSourceCode() {
return this.sourceCode;
}
public void setSourceCode(String sourceCode) {
this.sourceCode = sourceCode;
}
public Long getTargetId() {
return this.targetId;
}
public void setTargetId(Long targetId) {
this.targetId = targetId;
}
public String getTargetCode() {
return this.targetCode;
}
public void setTargetCode(String targetCode) {
this.targetCode = targetCode;
}
public Date getValidFrom() {
return this.validFrom;
}
public void setValidFrom(Date validFrom) {
this.validFrom = validFrom;
}
public Date getValidTo() {
return this.validTo;
}
public void setValidTo(Date validTo) {
this.validTo = validTo;
}
public Float getValue() {
return this.value;
}
public void setValue(Float value) {
this.value = value;
}
public Long getProviderId() {
return this.providerId;
}
public void setProviderId(Long providerId) {
this.providerId = providerId;
}
public String getProviderCode() {
return this.providerCode;
}
public void setProviderCode(String providerCode) {
this.providerCode = providerCode;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy