39 lines
862 B
Java
39 lines
862 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.*;
|
|
|
|
import static javax.persistence.FetchType.LAZY;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Entity
|
|
@Table(name = "VariabelD_T")
|
|
public class VariabelD extends BaseTransaction {
|
|
|
|
@ManyToOne(fetch = LAZY)
|
|
@Caption(value = "Object Variabel")
|
|
@JoinColumn(name = "ObjectVariabelFk")
|
|
private Variabel variabel;
|
|
|
|
@Column(name = "ObjectVariabelFk", insertable = false, updatable = false)
|
|
private String variabelId;
|
|
|
|
@Caption(value = "valueI ")
|
|
@Column(name = "valueI")
|
|
private String valueI;
|
|
|
|
@Caption(value = "valueII ")
|
|
@Column(name = "valueII")
|
|
private String valueII;
|
|
|
|
@Caption(value = "hasil ")
|
|
@Column(name = "hasil")
|
|
private String hasil;
|
|
|
|
}
|