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; /** * ViewColumn generated by hbm2java */ @Entity @Table(name="VIEW_COLUMN" ) public class ViewColumn implements java.io.Serializable { private BigDecimal id; private SectionView sectionView; private SectionColumn sectionColumn; private boolean visibleFl; private BigDecimal createTs; private BigDecimal lastmodifyTs; private BigDecimal orderNumber; public ViewColumn() { } public ViewColumn(BigDecimal id, SectionView sectionView, SectionColumn sectionColumn, boolean visibleFl, BigDecimal createTs, BigDecimal lastmodifyTs) { this.id = id; this.sectionView = sectionView; this.sectionColumn = sectionColumn; this.visibleFl = visibleFl; this.createTs = createTs; this.lastmodifyTs = lastmodifyTs; } public ViewColumn(BigDecimal id, SectionView sectionView, SectionColumn sectionColumn, boolean visibleFl, BigDecimal createTs, BigDecimal lastmodifyTs, BigDecimal orderNumber) { this.id = id; this.sectionView = sectionView; this.sectionColumn = sectionColumn; this.visibleFl = visibleFl; this.createTs = createTs; this.lastmodifyTs = lastmodifyTs; this.orderNumber = orderNumber; } @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="SECTION_VIEW_ID", nullable=false) public SectionView getSectionView() { return this.sectionView; } public void setSectionView(SectionView sectionView) { this.sectionView = sectionView; } @ManyToOne(fetch=FetchType.LAZY) @JoinColumn(name="SECTION_COLUMN_ID", nullable=false) public SectionColumn getSectionColumn() { return this.sectionColumn; } public void setSectionColumn(SectionColumn sectionColumn) { this.sectionColumn = sectionColumn; } @Column(name="VISIBLE_FL", nullable=false, precision=1, scale=0) public boolean isVisibleFl() { return this.visibleFl; } public void setVisibleFl(boolean visibleFl) { this.visibleFl = visibleFl; } @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="ORDER_NUMBER", precision=20, scale=0) public BigDecimal getOrderNumber() { return this.orderNumber; } public void setOrderNumber(BigDecimal orderNumber) { this.orderNumber = orderNumber; } }