package com.jasamedika.medifirst2000.entities;



import java.util.Date;

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

import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.helper.Caption;

@Entity
@Table(name = "PlanningPelayananSistem_T")
public class PlanningPelayananSistem extends BaseTransaction {
	@Caption(value = "No Planning")
	@Column(name = "NoPlanning", length = 10)
	private String noPlanning;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ProdukFk")
	@Caption(value = "Produk")
	private Produk kdProduk;
	
	@Column(name = "ProdukFk", insertable = false, updatable = false, nullable = true)
	private Integer idProduk;
	
	@Column(name = "NoOrder_D")
	private Integer noOrderD;
	
	@Column(name = "DetailPelayananSistem", length = 300)
	private String detailPelayananSistem;
	
	@Column(name = "TglPlanning")
	private Date tglPlanning; 
	
	@Column(name = "TglFinishPlanning")
	private Date tglFinishPlanning;
	
	@Column(name = "TglPlanningExec")
	private Date tglPlanningExec;
	
	@Column(name = "TglQAExec")
	private Date tglQAExec;
	
	@Column(name = "TglExposePlanning")
	private Date tglExposePlanning;
	
	@Column(name = "TglExposeExec")
	private Date tglExposeExec;
	
	@Column(name = "TglDeliveryPlanning")
	private Date tglDeliveryPlanning;
	
	@Column(name = "TglDeliveryExec")
	private Date tlgDeliveryExec;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "PegawaiDeliveryExecFk")
	@Caption(value = "Pegawai Deliver Exec")
	private Pegawai pegawaiDeliveryExec;
	
	@Column(name = "PegawaiDeliveryExecFk", insertable = false, updatable = false, nullable = true)
	private Integer idPegawaiDeliveryExec;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "noOrderFk")
	@Caption(value = "No Order Fk")
	private StrukOrder kdNoOrder;
	
	public StrukOrder getKdNoOrder() {
		return kdNoOrder;
	}

	public void setKdNoOrder(StrukOrder kdNoOrder) {
		this.kdNoOrder = kdNoOrder;
	}

	@Column(name = "noOrderFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = false)
	private String noOrder;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "PegawaiDeliveryTerimaFk")
	@Caption(value = "Pegawai Deliver Terima")
	private Pegawai pegawaiDeliveryTerima;
	
	@Column(name = "PegawaiDeliveryTerimaFk", insertable = false, updatable = false, nullable = true)
	private Integer idPegawaiTerima;
	
	@Column(name = "TglTrainingPlanning")
	private Date tglTrainingPlanning;
	
	@Column(name = "TglTrainingExec")
	private Date tglTrainingExec;
	
	@Column(name = "TglFinishExec")
	private Date tglFinishExec;
	
	@Column(name = "KeteranganLainnya", length = 150)
	private String keteranganLainnya;
	
	@Column(name = "NoRetur", length = 10)
	private String noRetur;
	
	@Column(name = "NoVerifikasi", length = 10)
	private String noVerikiasi;
	
	@Column(name = "TglQAPlanning")
	private Date tglQAPlanning;

	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 Produk getKdProduk() {
		return kdProduk;
	}

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

	public Integer getIdProduk() {
		return idProduk;
	}

	public void setIdProduk(Integer idProduk) {
		this.idProduk = idProduk;
	}

	public Integer getNoOrderD() {
		return noOrderD;
	}

	public void setNoOrderD(Integer noOrderD) {
		this.noOrderD = noOrderD;
	}

	public String getDetailPelayananSistem() {
		return detailPelayananSistem;
	}

	public void setDetailPelayananSistem(String detailPelayananSistem) {
		this.detailPelayananSistem = detailPelayananSistem;
	}

	public Date getTglPlanning() {
		return tglPlanning;
	}

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

	public Date getTglFinishPlanning() {
		return tglFinishPlanning;
	}

	public void setTglFinishPlanning(Date tglFinishPlanning) {
		this.tglFinishPlanning = tglFinishPlanning;
	}

	public Date getTglPlanningExec() {
		return tglPlanningExec;
	}

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

	public Date getTglQAExec() {
		return tglQAExec;
	}

	public void setTglQAExec(Date tglQAExec) {
		this.tglQAExec = tglQAExec;
	}

	public Date getTglExposePlanning() {
		return tglExposePlanning;
	}

	public void setTglExposePlanning(Date tglExposePlanning) {
		this.tglExposePlanning = tglExposePlanning;
	}

	public Date getTglExposeExec() {
		return tglExposeExec;
	}

	public void setTglExposeExec(Date tglExposeExec) {
		this.tglExposeExec = tglExposeExec;
	}

	public Date getTglDeliveryPlanning() {
		return tglDeliveryPlanning;
	}

	public void setTglDeliveryPlanning(Date tglDeliveryPlanning) {
		this.tglDeliveryPlanning = tglDeliveryPlanning;
	}

	public Date getTlgDeliveryExec() {
		return tlgDeliveryExec;
	}

	public void setTlgDeliveryExec(Date tlgDeliveryExec) {
		this.tlgDeliveryExec = tlgDeliveryExec;
	}

	public Pegawai getPegawaiDeliveryExec() {
		return pegawaiDeliveryExec;
	}

	public void setPegawaiDeliveryExec(Pegawai pegawaiDeliveryExec) {
		this.pegawaiDeliveryExec = pegawaiDeliveryExec;
	}

	public Integer getIdPegawaiDeliveryExec() {
		return idPegawaiDeliveryExec;
	}

	public void setIdPegawaiDeliveryExec(Integer idPegawaiDeliveryExec) {
		this.idPegawaiDeliveryExec = idPegawaiDeliveryExec;
	}

	public Pegawai getPegawaiDeliveryTerima() {
		return pegawaiDeliveryTerima;
	}

	public void setPegawaiDeliveryTerima(Pegawai pegawaiDeliveryTerima) {
		this.pegawaiDeliveryTerima = pegawaiDeliveryTerima;
	}

	public Integer getIdPegawaiTerima() {
		return idPegawaiTerima;
	}

	public void setIdPegawaiTerima(Integer idPegawaiTerima) {
		this.idPegawaiTerima = idPegawaiTerima;
	}

	public Date getTglTrainingPlanning() {
		return tglTrainingPlanning;
	}

	public void setTglTrainingPlanning(Date tglTrainingPlanning) {
		this.tglTrainingPlanning = tglTrainingPlanning;
	}

	public Date getTglTrainingExec() {
		return tglTrainingExec;
	}

	public void setTglTrainingExec(Date tglTrainingExec) {
		this.tglTrainingExec = tglTrainingExec;
	}

	public Date getTglFinishExec() {
		return tglFinishExec;
	}

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

	public String getKeteranganLainnya() {
		return keteranganLainnya;
	}

	public void setKeteranganLainnya(String keteranganLainnya) {
		this.keteranganLainnya = keteranganLainnya;
	}

	public String getNoRetur() {
		return noRetur;
	}

	public void setNoRetur(String noRetur) {
		this.noRetur = noRetur;
	}

	public String getNoVerikiasi() {
		return noVerikiasi;
	}

	public void setNoVerikiasi(String noVerikiasi) {
		this.noVerikiasi = noVerikiasi;
	}

	public Date getTglQAPlanning() {
		return tglQAPlanning;
	}

	public void setTglQAPlanning(Date tglQAPlanning) {
		this.tglQAPlanning = tglQAPlanning;
	}
	
	

}
