package webctdbexport.db; // Generated 17-Jun-2011 11:38:57 by Hibernate Tools 3.4.0.CR1 import java.math.BigDecimal; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; /** * ColMetaSelection generated by hbm2java */ @Entity @Table(name="COL_META_SELECTION" ) public class ColMetaSelection implements java.io.Serializable { private BigDecimal id; private ColMeta colMeta; private String value; private boolean defaultValue; private BigDecimal deletestatus; private BigDecimal createTs; private BigDecimal lastmodifyTs; public ColMetaSelection() { } public ColMetaSelection(BigDecimal id, ColMeta colMeta, String value, boolean defaultValue, BigDecimal deletestatus, BigDecimal createTs, BigDecimal lastmodifyTs) { this.id = id; this.colMeta = colMeta; this.value = value; this.defaultValue = defaultValue; this.deletestatus = deletestatus; this.createTs = createTs; this.lastmodifyTs = lastmodifyTs; } @Id @Column(name="ID", nullable=false, precision=20, scale=0) public BigDecimal getId() { return this.id; } public void setId(BigDecimal id) { this.id = id; } @ManyToOne(fetch=FetchType.LAZY) @JoinColumn(name="COL_META_ID", nullable=false) public ColMeta getColMeta() { return this.colMeta; } public void setColMeta(ColMeta colMeta) { this.colMeta = colMeta; } @Column(name="VALUE", nullable=false, length=256) public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } @Column(name="DEFAULT_VALUE", nullable=false, precision=1, scale=0) public boolean isDefaultValue() { return this.defaultValue; } public void setDefaultValue(boolean defaultValue) { this.defaultValue = defaultValue; } @Column(name="DELETESTATUS", nullable=false, precision=22, scale=0) public BigDecimal getDeletestatus() { return this.deletestatus; } public void setDeletestatus(BigDecimal deletestatus) { this.deletestatus = deletestatus; } @Column(name="CREATE_TS", nullable=false, precision=20, scale=0) public BigDecimal getCreateTs() { return this.createTs; } public void setCreateTs(BigDecimal createTs) { this.createTs = createTs; } @Column(name="LASTMODIFY_TS", nullable=false, precision=20, scale=0) public BigDecimal getLastmodifyTs() { return this.lastmodifyTs; } public void setLastmodifyTs(BigDecimal lastmodifyTs) { this.lastmodifyTs = lastmodifyTs; } }