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.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.entities.JenisPetugasPelaksana;
import com.jasamedika.medifirst2000.entities.Pegawai;
import com.jasamedika.medifirst2000.entities.Produk;
import com.jasamedika.medifirst2000.entities.StrukOrder;
import com.jasamedika.medifirst2000.entities.StrukPlanning;
import com.jasamedika.medifirst2000.helper.Caption;

public class PlanningPelayananSistemPetugasVO extends BaseTransactionVO {
	
	//private String noPlanning;
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "noPlanningFk")
	@Caption(value = "No Planning Fk")
	private StrukPlanningVO kdNoPlanning;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "noOrderFk")
	@Caption(value = "No Order Fk")
	private StrukOrderVO kdNoOrder;
	
	//private String noOrder;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ProdukFk")
	private ProdukVO kdProduk;

	private Integer noOrder_D;

	private Date tglPlanning;
		
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "PegawaiFk")
	private PegawaiVO kdPegawai;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "JenisPetugasPeFk")
	private JenisPetugasPelaksanaVO kdJenisPetugasPe;

	private Integer isPetugasPePJawab;

	private String deskripsiTugasFungsi;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "PegawaiExecFk")
	private PegawaiVO kdPegawaiExec;

	private Date tglPlanningExec;

	private Date tglFinishExec;
/*
	public String getNoPlanning() {
		return noPlanning;
	}

	public void setNoPlanning(String noPlanning) {
		this.noPlanning = noPlanning;
	}

	public String getNoOrder() {
		return noOrder;
	}

	public void setNoOrder(String noOrder) {
		this.noOrder = noOrder;
	}
*/
	
	public ProdukVO getKdProduk() {
		return kdProduk;
	}

	public StrukOrderVO getKdNoOrder() {
		return kdNoOrder;
	}

	public void setKdNoOrder(StrukOrderVO kdNoOrder) {
		this.kdNoOrder = kdNoOrder;
	}
	
	public StrukPlanningVO getKdNoPlanning() {
		return kdNoPlanning;
	}

	public void setKdNoPlanning(StrukPlanningVO kdNoPlanning) {
		this.kdNoPlanning = kdNoPlanning;
	}

	public void setKdProduk(ProdukVO kdProduk) {
		this.kdProduk = kdProduk;
	}

	public Integer getNoOrder_D() {
		return noOrder_D;
	}

	public void setNoOrder_D(Integer noOrder_D) {
		this.noOrder_D = noOrder_D;
	}

	public Date getTglPlanning() {
		return tglPlanning;
	}

	public void setTglPlanning(Date tglPlanning) {
		this.tglPlanning = tglPlanning;
	}

	public PegawaiVO getKdPegawai() {
		return kdPegawai;
	}

	public void setKdPegawai(PegawaiVO kdPegawai) {
		this.kdPegawai = kdPegawai;
	}

	public JenisPetugasPelaksanaVO getKdJenisPetugasPe() {
		return kdJenisPetugasPe;
	}

	public void setKdJenisPetugasPe(JenisPetugasPelaksanaVO kdJenisPetugasPe) {
		this.kdJenisPetugasPe = kdJenisPetugasPe;
	}

	public Integer getIsPetugasPePJawab() {
		return isPetugasPePJawab;
	}

	public void setIsPetugasPePJawab(Integer isPetugasPePJawab) {
		this.isPetugasPePJawab = isPetugasPePJawab;
	}

	public String getDeskripsiTugasFungsi() {
		return deskripsiTugasFungsi;
	}

	public void setDeskripsiTugasFungsi(String deskripsiTugasFungsi) {
		this.deskripsiTugasFungsi = deskripsiTugasFungsi;
	}

	public PegawaiVO getKdPegawaiExec() {
		return kdPegawaiExec;
	}

	public void setKdPegawaiExec(PegawaiVO kdPegawaiExec) {
		this.kdPegawaiExec = kdPegawaiExec;
	}

	public Date getTglPlanningExec() {
		return tglPlanningExec;
	}

	public void setTglPlanningExec(Date tglPlanningExec) {
		this.tglPlanningExec = tglPlanningExec;
	}

	public Date getTglFinishExec() {
		return tglFinishExec;
	}

	public void setTglFinishExec(Date tglFinishExec) {
		this.tglFinishExec = tglFinishExec;
	}
	
	
	
	
}
