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; /** * SyllitemDetail generated by hbm2java */ @Entity @Table(name="SYLLITEM_DETAIL" ) public class SyllitemDetail implements java.io.Serializable { private BigDecimal id; private Syllitem syllitem; private BigDecimal createTs; private BigDecimal lastmodifyTs; private String name; private String value; public SyllitemDetail() { } public SyllitemDetail(BigDecimal id, BigDecimal createTs, BigDecimal lastmodifyTs) { this.id = id; this.createTs = createTs; this.lastmodifyTs = lastmodifyTs; } public SyllitemDetail(BigDecimal id, Syllitem syllitem, BigDecimal createTs, BigDecimal lastmodifyTs, String name, String value) { this.id = id; this.syllitem = syllitem; this.createTs = createTs; this.lastmodifyTs = lastmodifyTs; this.name = name; this.value = value; } @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="SYLLITEM_ID") public Syllitem getSyllitem() { return this.syllitem; } public void setSyllitem(Syllitem syllitem) { this.syllitem = syllitem; } @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="NAME", length=100) public String getName() { return this.name; } public void setName(String name) { this.name = name; } @Column(name="VALUE", length=4000) public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } }