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; /** * ActiveChatServer generated by hbm2java */ @Entity @Table(name="ACTIVE_CHAT_SERVER" ) public class ActiveChatServer implements java.io.Serializable { private String serverip; private BigDecimal updatedtimestamp; public ActiveChatServer() { } public ActiveChatServer(String serverip) { this.serverip = serverip; } public ActiveChatServer(String serverip, BigDecimal updatedtimestamp) { this.serverip = serverip; this.updatedtimestamp = updatedtimestamp; } @Id @Column(name="SERVERIP", nullable=false, length=20) public String getServerip() { return this.serverip; } public void setServerip(String serverip) { this.serverip = serverip; } @Column(name="UPDATEDTIMESTAMP", precision=20, scale=0) public BigDecimal getUpdatedtimestamp() { return this.updatedtimestamp; } public void setUpdatedtimestamp(BigDecimal updatedtimestamp) { this.updatedtimestamp = updatedtimestamp; } }