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.Id; import javax.persistence.Table; /** * LcUpgradeSync generated by hbm2java */ @Entity @Table(name="LC_UPGRADE_SYNC" ) public class LcUpgradeSync implements java.io.Serializable { private BigDecimal id; private boolean status; private String nodeName; private boolean grpLvlsFrom; private boolean grpLvlsTo; private BigDecimal createTs; private BigDecimal lastmodifyTs; public LcUpgradeSync() { } public LcUpgradeSync(BigDecimal id, boolean status, String nodeName, boolean grpLvlsFrom, boolean grpLvlsTo, BigDecimal createTs, BigDecimal lastmodifyTs) { this.id = id; this.status = status; this.nodeName = nodeName; this.grpLvlsFrom = grpLvlsFrom; this.grpLvlsTo = grpLvlsTo; 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; } @Column(name="STATUS", nullable=false, precision=1, scale=0) public boolean isStatus() { return this.status; } public void setStatus(boolean status) { this.status = status; } @Column(name="NODE_NAME", nullable=false, length=100) public String getNodeName() { return this.nodeName; } public void setNodeName(String nodeName) { this.nodeName = nodeName; } @Column(name="GRP_LVLS_FROM", nullable=false, precision=1, scale=0) public boolean isGrpLvlsFrom() { return this.grpLvlsFrom; } public void setGrpLvlsFrom(boolean grpLvlsFrom) { this.grpLvlsFrom = grpLvlsFrom; } @Column(name="GRP_LVLS_TO", nullable=false, precision=1, scale=0) public boolean isGrpLvlsTo() { return this.grpLvlsTo; } public void setGrpLvlsTo(boolean grpLvlsTo) { this.grpLvlsTo = grpLvlsTo; } @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; } }