net.nan21.dnet.module.bd.geo.ds.model.RegionLovDs 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.geo.ds.model;
import net.nan21.dnet.core.api.annotation.Ds;
import net.nan21.dnet.core.api.annotation.DsField;
import net.nan21.dnet.core.api.annotation.SortField;
import net.nan21.dnet.core.presenter.model.base.AbstractTypeWithCodeLov;
import net.nan21.dnet.module.bd.geo.domain.entity.Region;
@Ds(entity = Region.class, jpqlWhere = " e.active = true ", sort = {@SortField(field = RegionLovDs.f_code)})
public class RegionLovDs extends AbstractTypeWithCodeLov {
public static final String f_countryId = "countryId";
@DsField(join = "left", path = "country.id")
private Long countryId;
public RegionLovDs() {
super();
}
public RegionLovDs(Region e) {
super(e);
}
public Long getCountryId() {
return this.countryId;
}
public void setCountryId(Long countryId) {
this.countryId = countryId;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy