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; /** * MemberAttrValue generated by hbm2java */ @Entity @Table(name="MEMBER_ATTR_VALUE" ) public class MemberAttrValue implements java.io.Serializable { private BigDecimal id; private Member member; private SectionColumn sectionColumn; private BigDecimal createTs; private BigDecimal lastmodifyTs; private String value; private String overrideValue; private String exportStatus; private String overrideComment; public MemberAttrValue() { } public MemberAttrValue(BigDecimal id, Member member, SectionColumn sectionColumn, BigDecimal createTs, BigDecimal lastmodifyTs) { this.id = id; this.member = member; this.sectionColumn = sectionColumn; this.createTs = createTs; this.lastmodifyTs = lastmodifyTs; } public MemberAttrValue(BigDecimal id, Member member, SectionColumn sectionColumn, BigDecimal createTs, BigDecimal lastmodifyTs, String value, String overrideValue, String exportStatus, String overrideComment) { this.id = id; this.member = member; this.sectionColumn = sectionColumn; this.createTs = createTs; this.lastmodifyTs = lastmodifyTs; this.value = value; this.overrideValue = overrideValue; this.exportStatus = exportStatus; this.overrideComment = overrideComment; } @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="MEMBER_ID", nullable=false) public Member getMember() { return this.member; } public void setMember(Member member) { this.member = member; } @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="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="VALUE", length=4000) public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } @Column(name="OVERRIDE_VALUE", length=4000) public String getOverrideValue() { return this.overrideValue; } public void setOverrideValue(String overrideValue) { this.overrideValue = overrideValue; } @Column(name="EXPORT_STATUS", length=256) public String getExportStatus() { return this.exportStatus; } public void setExportStatus(String exportStatus) { this.exportStatus = exportStatus; } @Column(name="OVERRIDE_COMMENT", length=3000) public String getOverrideComment() { return this.overrideComment; } public void setOverrideComment(String overrideComment) { this.overrideComment = overrideComment; } }