package com.jasamedika.medifirst2000.vo;

import java.util.Date;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;
import javax.validation.constraints.NotNull;
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.helper.Caption;

public class IpsrsPeminjamanAlatVO extends BaseTransactionVO{

	@Caption(value = "No Peminjaman")
	private String noPeminjaman;
	
	@Caption(value = "Tanggal Peminjaman")
	private Date tglPeminjaman;

	@ManyToOne(fetch = FetchType.LAZY)
	@Caption(value = "RuanganPeminjam")
	private RuanganVO ruanganPeminjam;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@Caption(value = "Peminjam")
	private PegawaiVO peminjam;

	@ManyToOne(fetch = FetchType.LAZY)
	@Caption(value = "RegistrasiAset")
	private RegistrasiAsetVO registrasiAset;
	
	@Caption(value = "Jumlah")
	private Integer jumlah;
	
	@Caption(value = "Tanggal Pengembalian")
	private Date tglPengembalian;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@Caption(value = "Petugas")
	private PegawaiVO petugas;
	
	@Caption(value = "Status")
	private String status;

	public String getNoPeminjaman() {
		return noPeminjaman;
	}

	public void setNoPeminjaman(String noPeminjaman) {
		this.noPeminjaman = noPeminjaman;
	}

	public Date getTglPeminjaman() {
		return tglPeminjaman;
	}

	public void setTglPeminjaman(Date tglPeminjaman) {
		this.tglPeminjaman = tglPeminjaman;
	}

	public RuanganVO getRuanganPeminjam() {
		return ruanganPeminjam;
	}

	public void setRuanganPeminjam(RuanganVO ruanganPeminjam) {
		this.ruanganPeminjam = ruanganPeminjam;
	}

	public PegawaiVO getPeminjam() {
		return peminjam;
	}

	public void setPeminjam(PegawaiVO peminjam) {
		this.peminjam = peminjam;
	}

	public Integer getJumlah() {
		return jumlah;
	}

	public void setJumlah(Integer jumlah) {
		this.jumlah = jumlah;
	}

	public Date getTglPengembalian() {
		return tglPengembalian;
	}

	public void setTglPengembalian(Date tglPengembalian) {
		this.tglPengembalian = tglPengembalian;
	}

	public PegawaiVO getPetugas() {
		return petugas;
	}

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

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public RegistrasiAsetVO getRegistrasiAset() {
		return registrasiAset;
	}

	public void setRegistrasiAset(RegistrasiAsetVO registrasiAset) {
		this.registrasiAset = registrasiAset;
	}

}
