41 lines
901 B
Java
41 lines
901 B
Java
package com.jasamedika.medifirst2000.entities;
|
|
|
|
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
import javax.persistence.*;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Entity
|
|
@Table(name = "ThtData_t")
|
|
public class ThtData extends BaseTransaction {
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectthtFk")
|
|
@Caption(value = "Object tht")
|
|
private Tht tht;
|
|
|
|
@Column(name = "ObjectthtFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
|
|
private String thtId;
|
|
|
|
@Column(name = "id", length = 50)
|
|
@Caption(value = "id")
|
|
private Integer id;
|
|
|
|
@Column(name = "title", length = 50)
|
|
@Caption(value = "title")
|
|
private String title;
|
|
|
|
@Column(name = "item", length = 50)
|
|
@Caption(value = "item")
|
|
private String item;
|
|
|
|
@Column(name = "value", length = 50)
|
|
@Caption(value = "value")
|
|
private String value;
|
|
|
|
}
|