package com.jasamedika.medifirst2000.vo;

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

import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.entities.KomponenIKI;
import com.jasamedika.medifirst2000.entities.Pegawai;
import com.jasamedika.medifirst2000.helper.Caption;

public class IndeksKinerjaIndividuVO extends BaseTransactionVO {
	
	@ManyToOne
	@JoinColumn(name = "ObjectPegawaiFk")
	@Caption(value = "Object Pegawai")
	private PegawaiVO pegawai;
	
	@Column(name = "ObjectPegawaiFk", insertable = false, updatable = false, nullable = false)
	private Integer pegawaiId;
	
	@ManyToOne
	@JoinColumn(name = "ObjectKomponenIKIFk")
	@Caption(value = "Object KomponenIKI")
	private KomponenIKIVO komponenIKI;
	
	@Column(name = "ObjectPegawaiFk", insertable = false, updatable = false, nullable = false)
	private Integer komponenIKIId;
	
	@ManyToOne
	@JoinColumn(name = "ObjectnilaiIndexKinerjaIndividuFk")
	@Caption(value = "Object nilaiIndexKinerjaIndividu")
	private NilaiIndexKinerjaIndividuVO nilaiIndexKinerjaIndividu;
	
	@Column(name = "ObjectPegawaiFk", insertable = false, updatable = false, nullable = false)
	private String nilaiIndexKinerjaIndividuId;
	
	@Caption(value = "Total")
	@Column(name = "total", nullable = true)
	private Double total;	
	
	@Caption(value = "Nilai")
	@Column(name = "nilai", nullable = true)
	private Double nilai;
	
	@Caption(value = "Hasil")
	@Column(name = "hasil", nullable = true)
	private Double hasil;
	
	@Caption(value = "Target")
	@Column(name = "target", nullable = true)
	private Double target;
	
	@Caption(value = "Bobot")
	@Column(name = "bobot", nullable = true)
	private Double bobot;
	
	@Caption(value = "periode")
	@Column(name = "periode", nullable = false)
	private String periode;
	
	@Caption(value = "item")
	@Column(name = "item", nullable = false)
	private String item;
	
	private String keterangan;
	
	public PegawaiVO getPegawai() {
		return pegawai;
	}

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

	public Integer getPegawaiId() {
		return pegawaiId;
	}

	public void setPegawaiId(Integer pegawaiId) {
		this.pegawaiId = pegawaiId;
	}

	public KomponenIKIVO getKomponenIKI() {
		return komponenIKI;
	}

	public void setKomponenIKI(KomponenIKIVO komponenIKI) {
		this.komponenIKI = komponenIKI;
	}

	public Integer getKomponenIKIId() {
		return komponenIKIId;
	}

	public void setKomponenIKIId(Integer komponenIKIId) {
		this.komponenIKIId = komponenIKIId;
	}

	public Double getTotal() {
		return total;
	}

	public void setTotal(Double total) {
		this.total = total;
	}

	public Double getNilai() {
		return nilai;
	}

	public void setNilai(Double nilai) {
		this.nilai = nilai;
	}

	public Double getHasil() {
		return hasil;
	}

	public void setHasil(Double hasil) {
		this.hasil = hasil;
	}

	public Double getTarget() {
		return target;
	}

	public void setTarget(Double target) {
		this.target = target;
	}

	public Double getBobot() {
		return bobot;
	}

	public void setBobot(Double bobot) {
		this.bobot = bobot;
	}

	public String getPeriode() {
		return periode;
	}

	public void setPeriode(String periode) {
		this.periode = periode;
	}

	public String getItem() {
		return item;
	}

	public void setItem(String item) {
		this.item = item;
	}

	public NilaiIndexKinerjaIndividuVO getNilaiIndexKinerjaIndividu() {
		return nilaiIndexKinerjaIndividu;
	}

	public void setNilaiIndexKinerjaIndividu(NilaiIndexKinerjaIndividuVO nilaiIndexKinerjaIndividu) {
		this.nilaiIndexKinerjaIndividu = nilaiIndexKinerjaIndividu;
	}

	public String getNilaiIndexKinerjaIndividuId() {
		return nilaiIndexKinerjaIndividuId;
	}

	public void setNilaiIndexKinerjaIndividuId(String nilaiIndexKinerjaIndividuId) {
		this.nilaiIndexKinerjaIndividuId = nilaiIndexKinerjaIndividuId;
	}

	public String getKeterangan() {
		return keterangan;
	}

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


}
