package com.jasamedika.medifirst2000.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
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 = "ProfileHistoriLowongan_T")
public class ProfileHistoriLowongan extends BaseTransaction{
	@ManyToOne
	@JoinColumn(name = "noHistoriFk")
	@Caption(value="noHistoriFk")
	private StrukHistori strukHistori;

	@Column(name = "noHistoriFk", insertable=false,updatable=false,nullable=false)
	private String strukHistoriId;

	@ManyToOne
	@JoinColumn(name = "jabatanFk")
	@Caption(value="jabatanFk")
	private Jabatan jabatan;

	@Column(name = "jabatanFk", insertable=false,updatable=false,nullable=false)
	private Integer jabatanId;

	@ManyToOne
	@JoinColumn(name = "jenisPegawaiFk")
	@Caption(value="jenisPegawaiFk")
	private JenisPegawai jenisPegawai;

	@Column(name = "jenisPegawaiFk", insertable=false,updatable=false,nullable=true)
	private Integer jenisPegawaiFkId;
	
	@ManyToOne
	@JoinColumn(name = "noSKFk")
	@Caption(value="noSKFk")
	private SuratKeputusan suratKeputusan;

	@Column(name = "noSKFk", insertable=false,updatable=false,nullable=true)
	private Integer suratKeputusanId;
	
	@ManyToOne
	@JoinColumn(name = "alamatProfileTujuanFk")
	@Caption(value="alamatProfileTujuanFk")
	private Alamat alamatProfileTujuan;

	@Column(name = "alamatProfileTujuanFk", insertable=false,updatable=false,nullable=true)
	private Integer alamatProfileTujuanId;
	
	@Caption(value="Keterangan Lainnya")
	@Column(name = "keteranganLainnya", nullable = true)
	private String keteranganLainnya;

	public StrukHistori getStrukHistori() {
		return strukHistori;
	}

	public void setStrukHistori(StrukHistori strukHistori) {
		this.strukHistori = strukHistori;
	}

	public String getStrukHistoriId() {
		return strukHistoriId;
	}

	public void setStrukHistoriId(String strukHistoriId) {
		this.strukHistoriId = strukHistoriId;
	}

	public Jabatan getJabatan() {
		return jabatan;
	}

	public void setJabatan(Jabatan jabatan) {
		this.jabatan = jabatan;
	}

	public Integer getJabatanId() {
		return jabatanId;
	}

	public void setJabatanId(Integer jabatanId) {
		this.jabatanId = jabatanId;
	}

	public JenisPegawai getJenisPegawai() {
		return jenisPegawai;
	}

	public void setJenisPegawai(JenisPegawai jenisPegawai) {
		this.jenisPegawai = jenisPegawai;
	}

	public Integer getJenisPegawaiFkId() {
		return jenisPegawaiFkId;
	}

	public void setJenisPegawaiFkId(Integer jenisPegawaiFkId) {
		this.jenisPegawaiFkId = jenisPegawaiFkId;
	}

	public SuratKeputusan getSuratKeputusan() {
		return suratKeputusan;
	}

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

	public Integer getSuratKeputusanId() {
		return suratKeputusanId;
	}

	public void setSuratKeputusanId(Integer suratKeputusanId) {
		this.suratKeputusanId = suratKeputusanId;
	}

	public Alamat getAlamatProfileTujuan() {
		return alamatProfileTujuan;
	}

	public void setAlamatProfileTujuan(Alamat alamatProfileTujuan) {
		this.alamatProfileTujuan = alamatProfileTujuan;
	}

	public Integer getAlamatProfileTujuanId() {
		return alamatProfileTujuanId;
	}

	public void setAlamatProfileTujuanId(Integer alamatProfileTujuanId) {
		this.alamatProfileTujuanId = alamatProfileTujuanId;
	}

	public String getKeteranganLainnya() {
		return keteranganLainnya;
	}

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