package com.jasamedika.medifirst2000.entities; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import com.jasamedika.medifirst2000.base.BaseTransaction; import com.jasamedika.medifirst2000.helper.Caption; @Entity @Table(name = "ThtData_t") public class ThtData extends BaseTransaction{ @ManyToOne @JoinColumn(name = "ObjectthtFk") @Caption(value = "Object tht") private Tht tht; @Column(name = "ObjectthtFk", insertable = false, updatable = false,nullable=true) private String thtId; @Column(name = "id", nullable = true, length = 50) @Caption(value = "id") private Integer id; @Column(name = "title", nullable = true, length = 50) @Caption(value = "title") private String title; @Column(name = "item", nullable = true, length = 50) @Caption(value = "item") private String item; @Column(name = "value", nullable = true, length = 50) @Caption(value = "value") private String value; public Tht getTht() { return tht; } public void setTht(Tht tht) { this.tht = tht; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getItem() { return item; } public void setItem(String item) { this.item = item; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } public String getThtId() { return thtId; } public void setThtId(String thtId) { this.thtId = thtId; } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } }