package com.jasamedika.medifirst2000.vo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.validation.constraints.NotNull;

import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.helper.Caption;

public class SterilisasiAlatMesinEoVO extends BaseTransactionVO {
	
	@Column(name = "Tanggal", nullable = true)
	@Caption(value = "Tanggal")
	private Date tanggal;
	
	@ManyToOne
	@JoinColumn(name = "ObjectNoBundleFk")
	@NotNull(message = "No Bundle tidak boleh kosong") 
	@Caption(value="Object No Bundle")
	private BundleSetAlatVO 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 PegawaiVO petugas;
	
	@Column(name = "ObjectPetugasFk", insertable = false, updatable = false, nullable = false)
	private Integer petugasId;
	
	@Column(name = "JamSterilisasiMulai", nullable = true)
	@Caption(value = "Jam Sterilisasi Mulai")
	private Date jamSterilisasiMulai;
	
	@Column(name = "JamSterilisasiSelesai", nullable = true)
	@Caption(value = "Jam Sterilisasi Selesai")
	private Date jamSterilisasiSelesai;
	
	@Column(name = "HasilIndikator", nullable = true)
	@Caption(value = "Hasil Indikator")
	private String hasilIndikator;
	
	@Column(name = "Label", nullable = true)
	@Caption(value = "Label")
	private String label;
	
	@Column(name = "Catatan", nullable = true)
	@Caption(value = "Catatan")
	private String catatan;

	public BundleSetAlatVO getNoBundle() {
		return noBundle;
	}

	public void setNoBundle(BundleSetAlatVO noBundle) {
		this.noBundle = noBundle;
	}

	public PegawaiVO getPetugas() {
		return petugas;
	}

	public void setPetugas(PegawaiVO petugas) {
		this.petugas = petugas;
	}

	public Date getJamSterilisasiMulai() {
		return jamSterilisasiMulai;
	}

	public void setJamSterilisasiMulai(Date jamSterilisasiMulai) {
		this.jamSterilisasiMulai = jamSterilisasiMulai;
	}

	public Date getJamSterilisasiSelesai() {
		return jamSterilisasiSelesai;
	}

	public void setJamSterilisasiSelesai(Date jamSterilisasiSelesai) {
		this.jamSterilisasiSelesai = jamSterilisasiSelesai;
	}

	public String getHasilIndikator() {
		return hasilIndikator;
	}

	public void setHasilIndikator(String hasilIndikator) {
		this.hasilIndikator = hasilIndikator;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getCatatan() {
		return catatan;
	}

	public void setCatatan(String catatan) {
		this.catatan = catatan;
	}

	public Date getTanggal() {
		return tanggal;
	}

	public void setTanggal(Date tanggal) {
		this.tanggal = tanggal;
	}

}
