package com.jasamedika.medifirst2000.vo;

import java.util.Date;

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

import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.entities.Departemen;
import com.jasamedika.medifirst2000.entities.Dokumen;
import com.jasamedika.medifirst2000.entities.Pegawai;
import com.jasamedika.medifirst2000.entities.Ruangan;
import com.jasamedika.medifirst2000.helper.Caption;

public class PegawaiHistoriStatusVO extends BaseTransactionVO{

	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value="Object Pegawai")
	private PegawaiVO pegawai;

	@Caption(value="Non Histori")
	private String nonHistori;
	
	@Caption(value="Non Sk")
	private String nonSk;
	
	@Caption(value="Non SkIntern")
	private String nonSkIntern;
	
	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value="Object Pegawai TTSK")
	private PegawaiVO pegawaiTtsk;

	@Caption(value="Nama Pegawai Ttsk")
	private String namaPegawaiTtsk;
	
	@Caption(value="Tgl Awal")
	private Date tglAwal;
	
	@Caption(value="Tgl Ahir")
	private Date tglAhir;
	
	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value="Object Status Pegawai")
	private PegawaiVO statusPegawai;

	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value="Object Departemen")
	private DepartemenVO departemen;

	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value="Object Ruangan Kerja")
	private RuanganVO ruanganKerja;

	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value="Object Dokumen")
	private DokumenVO dokumen;

	@Column(name = "NoPlaning", length = 10)
	@Caption(value="No Planing")
	private String noPlaning;
	
	@Column(name = "KeteranganLainya", length = 150)
	@Caption(value="Keterangan Lainya")
	private String keteranganLainya;

	public PegawaiVO getPegawai() {
		return pegawai;
	}

	public void setPegawai(PegawaiVO pegawai) {
		this.pegawai = pegawai;
	}

	public String getNonHistori() {
		return nonHistori;
	}

	public void setNonHistori(String nonHistori) {
		this.nonHistori = nonHistori;
	}

	public String getNonSk() {
		return nonSk;
	}

	public void setNonSk(String nonSk) {
		this.nonSk = nonSk;
	}

	public String getNonSkIntern() {
		return nonSkIntern;
	}

	public void setNonSkIntern(String nonSkIntern) {
		this.nonSkIntern = nonSkIntern;
	}

	public PegawaiVO getPegawaiTtsk() {
		return pegawaiTtsk;
	}

	public void setPegawaiTtsk(PegawaiVO pegawaiTtsk) {
		this.pegawaiTtsk = pegawaiTtsk;
	}

	public String getNamaPegawaiTtsk() {
		return namaPegawaiTtsk;
	}

	public void setNamaPegawaiTtsk(String namaPegawaiTtsk) {
		this.namaPegawaiTtsk = namaPegawaiTtsk;
	}

	public Date getTglAwal() {
		return tglAwal;
	}

	public void setTglAwal(Date tglAwal) {
		this.tglAwal = tglAwal;
	}

	public Date getTglAhir() {
		return tglAhir;
	}

	public void setTglAhir(Date tglAhir) {
		this.tglAhir = tglAhir;
	}

	public PegawaiVO getStatusPegawai() {
		return statusPegawai;
	}

	public void setStatusPegawai(PegawaiVO statusPegawai) {
		this.statusPegawai = statusPegawai;
	}

	public DepartemenVO getDepartemen() {
		return departemen;
	}

	public void setDepartemen(DepartemenVO departemen) {
		this.departemen = departemen;
	}

	public RuanganVO getRuanganKerja() {
		return ruanganKerja;
	}

	public void setRuanganKerja(RuanganVO ruanganKerja) {
		this.ruanganKerja = ruanganKerja;
	}

	public DokumenVO getDokumen() {
		return dokumen;
	}

	public void setDokumen(DokumenVO dokumen) {
		this.dokumen = dokumen;
	}

	public String getNoPlaning() {
		return noPlaning;
	}

	public void setNoPlaning(String noPlaning) {
		this.noPlaning = noPlaning;
	}

	public String getKeteranganLainya() {
		return keteranganLainya;
	}

	public void setKeteranganLainya(String keteranganLainya) {
		this.keteranganLainya = keteranganLainya;
	}
}
