package webctdbexport.db; // Generated 17-Jun-2011 11:38:57 by Hibernate Tools 3.4.0.CR1 import java.math.BigDecimal; import java.sql.Clob; 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; /** * CoHeaderfooter generated by hbm2java */ @Entity @Table(name="CO_HEADERFOOTER" ) public class CoHeaderfooter implements java.io.Serializable { private BigDecimal id; private CoOrganizerpage coOrganizerpage; private char type; private boolean isdefault; private boolean ishtml; private BigDecimal createTs; private BigDecimal lastmodifyTs; private Clob hdFtText; public CoHeaderfooter() { } public CoHeaderfooter(BigDecimal id, CoOrganizerpage coOrganizerpage, char type, boolean isdefault, boolean ishtml, BigDecimal createTs, BigDecimal lastmodifyTs) { this.id = id; this.coOrganizerpage = coOrganizerpage; this.type = type; this.isdefault = isdefault; this.ishtml = ishtml; this.createTs = createTs; this.lastmodifyTs = lastmodifyTs; } public CoHeaderfooter(BigDecimal id, CoOrganizerpage coOrganizerpage, char type, boolean isdefault, boolean ishtml, BigDecimal createTs, BigDecimal lastmodifyTs, Clob hdFtText) { this.id = id; this.coOrganizerpage = coOrganizerpage; this.type = type; this.isdefault = isdefault; this.ishtml = ishtml; this.createTs = createTs; this.lastmodifyTs = lastmodifyTs; this.hdFtText = hdFtText; } @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="CO_ORGANIZERPAGE_ID", nullable=false) public CoOrganizerpage getCoOrganizerpage() { return this.coOrganizerpage; } public void setCoOrganizerpage(CoOrganizerpage coOrganizerpage) { this.coOrganizerpage = coOrganizerpage; } @Column(name="TYPE", nullable=false, length=1) public char getType() { return this.type; } public void setType(char type) { this.type = type; } @Column(name="ISDEFAULT", nullable=false, precision=1, scale=0) public boolean isIsdefault() { return this.isdefault; } public void setIsdefault(boolean isdefault) { this.isdefault = isdefault; } @Column(name="ISHTML", nullable=false, precision=1, scale=0) public boolean isIshtml() { return this.ishtml; } public void setIshtml(boolean ishtml) { this.ishtml = ishtml; } @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; } @Column(name="HD_FT_TEXT") public Clob getHdFtText() { return this.hdFtText; } public void setHdFtText(Clob hdFtText) { this.hdFtText = hdFtText; } }