64 lines
1.7 KiB
Java
64 lines
1.7 KiB
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 org.hibernate.annotations.DynamicUpdate;
|
|
|
|
import javax.persistence.*;
|
|
import javax.validation.constraints.NotNull;
|
|
import java.util.Date;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Entity
|
|
@DynamicUpdate
|
|
@Table(name = "BiologicalSudahDisterile_T")
|
|
public class BiologicalSudahDisterile extends BaseTransaction {
|
|
|
|
@Column(name = "Tanggal")
|
|
@Caption(value = "Tanggal")
|
|
private Date tanggal;
|
|
|
|
@Column(name = "SuhuPensterilan", length = 10)
|
|
@Caption(value = "SuhuPensterilan")
|
|
private String suhuPensterilan;
|
|
|
|
@Column(name = "SuhuIncubator", length = 10)
|
|
@Caption(value = "SuhuIncubator")
|
|
private String SuhuIncubator;
|
|
|
|
@Column(name = "Hasil", length = 100)
|
|
@Caption(value = "Hasil")
|
|
private String hasil;
|
|
|
|
@Column(name = "JamMasuk", length = 100)
|
|
@Caption(value = "JamMasuk")
|
|
private String jamMasuk;
|
|
|
|
@Column(name = "JamKeluar", length = 100)
|
|
@Caption(value = "JamKeluar")
|
|
private String jamKeluar;
|
|
|
|
@Column(name = "Keterangan", length = 50)
|
|
private String keterangan;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectOperatorFk")
|
|
@NotNull(message = "Operator tidak boleh kosong")
|
|
@Caption(value = "Object Operator")
|
|
private Pegawai operator;
|
|
|
|
@Column(name = "ObjectOperatorFk", insertable = false, updatable = false, nullable = false)
|
|
private Integer operatorId;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectPencataanSuhuMesinFk")
|
|
private PencatatanSuhuMesin pencatatanSuhuMesin;
|
|
|
|
@Column(name = "ObjectPencataanSuhuMesinFk", insertable = false, updatable = false, nullable = false)
|
|
private String pencatatanSuhuMesinId;
|
|
|
|
}
|