package com.jasamedika.medifirst2000.vo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;

import org.hibernate.annotations.Type;

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

public class PemeriksaanAngkaKumanUdaraVO extends BaseTransactionVO{

	@Caption(value="Tanggal")
	private Date tanggal;
	
	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value="Tanggal")
	private RuanganVO namaRuangan;
	
	@Caption(value="Volume")
	private Float volume;
	
	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value="Tanggal")
	private BakuMutuVO bakuMutu;
	
	@Caption(value="Hasil Pengukuran")
	private String hasilPengukuran;
	
	@Caption(value="File Name")
	private String fileName;
	
	@Caption(value="File")
	@Type(type="org.hibernate.type.BinaryType")
	private byte[] file;
	
	@Caption(value="Upload Dokumen")
	private String uploadDokumen;

	private Integer nilaiBakuMutu;

	private String keterangan;
	
	private String reportDisplay;

	public Date getTanggal() {
		return tanggal;
	}

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

	public RuanganVO getNamaRuangan() {
		return namaRuangan;
	}

	public void setNamaRuangan(RuanganVO namaRuangan) {
		this.namaRuangan = namaRuangan;
	}

	public Float getVolume() {
		return volume;
	}

	public void setVolume(Float volume) {
		this.volume = volume;
	}

	public BakuMutuVO getBakuMutu() {
		return bakuMutu;
	}

	public void setBakuMutu(BakuMutuVO bakuMutu) {
		this.bakuMutu = bakuMutu;
	}

	public String getHasilPengukuran() {
		return hasilPengukuran;
	}

	public void setHasilPengukuran(String hasilPengukuran) {
		this.hasilPengukuran = hasilPengukuran;
	}
	
	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public byte[] getFile() {
		return file;
	}

	public void setFile(byte[] file) {
		this.file = file;
	}
	
	public String getUploadDokumen() {
		return uploadDokumen;
	}

	public void setUploadDokumen(String uploadDokumen) {
		this.uploadDokumen = uploadDokumen;
	}

	public Integer getNilaiBakuMutu() {
		return nilaiBakuMutu;
	}

	public void setNilaiBakuMutu(Integer nilaiBakuMutu) {
		this.nilaiBakuMutu = nilaiBakuMutu;
	}

	public String getKeterangan() {
		return keterangan;
	}

	public void setKeterangan(String keterangan) {
		this.keterangan = keterangan;
	}

	public String getReportDisplay() {
		return reportDisplay;
	}

	public void setReportDisplay(String reportDisplay) {
		this.reportDisplay = reportDisplay;
	}
	
}
