61 lines
1.6 KiB
Java
61 lines
1.6 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 javax.persistence.*;
|
|
import javax.validation.constraints.NotNull;
|
|
import java.util.Date;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Entity
|
|
@Table(name = "SterilisasiAlatMesinEo_T")
|
|
public class SterilisasiAlatMesinEo extends BaseTransaction {
|
|
|
|
@Column(name = "Tanggal")
|
|
@Caption(value = "Tanggal")
|
|
private Date tanggal;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectNoBundleFk")
|
|
@NotNull(message = "No Bundle tidak boleh kosong")
|
|
@Caption(value = "Object No Bundle")
|
|
private BundleSetAlat noBundle;
|
|
|
|
@Column(name = "ObjectNoBundleFk", insertable = false, updatable = false, nullable = false)
|
|
private Integer noBundleId;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectPetugasFk")
|
|
@NotNull(message = "Petugas tidak boleh kosong")
|
|
@Caption(value = "Object Petugas")
|
|
private Pegawai petugas;
|
|
|
|
@Column(name = "ObjectPetugasFk", insertable = false, updatable = false, nullable = false)
|
|
private Integer petugasId;
|
|
|
|
@Column(name = "JamSterilisasiMulai")
|
|
@Caption(value = "Jam Sterilisasi Mulai")
|
|
private Date jamSterilisasiMulai;
|
|
|
|
@Column(name = "JamSterilisasiSelesai")
|
|
@Caption(value = "Jam Sterilisasi Selesai")
|
|
private Date jamSterilisasiSelesai;
|
|
|
|
@Column(name = "HasilIndikator")
|
|
@Caption(value = "Hasil Indikator")
|
|
private String hasilIndikator;
|
|
|
|
@Column(name = "Label")
|
|
@Caption(value = "Label")
|
|
private String label;
|
|
|
|
@Column(name = "Catatan")
|
|
@Caption(value = "Catatan")
|
|
private String catatan;
|
|
|
|
}
|