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 javax.persistence.OneToMany;

import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import com.jasamedika.medifirst2000.entities.SuratKeputusan;
import com.jasamedika.medifirst2000.entities.UnitKerjaPegawai;
import com.jasamedika.medifirst2000.helper.Caption;

public class SettingPirSdmVO extends BaseMasterVO{

	@Caption(value="tgl Awal")
	private Date tglAwal;
	
	@Caption(value="tgl Akhir")
	private Date tglAkhir;
	
	@Caption(value="Pir")
	private Double pir;
	
	@Caption(value="Iku")
	private Double iku;
	
	@Caption(value="tglBerlaku")
	private Date tglBerlaku;
	
	private UnitKerjaPegawaiVO unitKerja;
	
	private Integer unitKerjaId;
	
	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value="Object Surat Keputusan")
	private SuratKeputusanVO suratKeputusan;

	public Date getTglAwal() {
		return tglAwal;
	}

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

	public Date getTglAkhir() {
		return tglAkhir;
	}

	public void setTglAkhir(Date tglAkhir) {
		this.tglAkhir = tglAkhir;
	}

	public Double getPir() {
		return pir;
	}

	public void setPir(Double pir) {
		this.pir = pir;
	}

	public Double getIku() {
		return iku;
	}

	public void setIku(Double iku) {
		this.iku = iku;
	}

	public Date getTglBerlaku() {
		return tglBerlaku;
	}

	public void setTglBerlaku(Date tglBerlaku) {
		this.tglBerlaku = tglBerlaku;
	}

	public SuratKeputusanVO getSuratKeputusan() {
		return suratKeputusan;
	}

	public void setSuratKeputusan(SuratKeputusanVO suratKeputusan) {
		this.suratKeputusan = suratKeputusan;
	}	

	public UnitKerjaPegawaiVO getUnitKerja() {
		return unitKerja;
	}

	public void setUnitKerja(UnitKerjaPegawaiVO unitKerja) {
		this.unitKerja = unitKerja;
	}

	public Integer getUnitKerjaId() {
		return unitKerjaId;
	}

	public void setUnitKerjaId(Integer unitKerjaId) {
		this.unitKerjaId = unitKerjaId;
	}
	
}