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 = "ProfileHistoriLaporan_T")
public class ProfileHistoriLaporan 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 = "unitLaporanFk")
	@Caption(value="unitLaporanFk")
	private UnitLaporan unitLaporan;

	@Column(name = "unitLaporanFk", insertable=false,updatable=false,nullable=false)
	private Integer unitLaporanId;

	@Column(name = "deskripsiLaporan", nullable = false)
	@Caption(value = "deskripsiLaporan")
	private String deskripsiLaporan;
	
	@Column(name = "downloadFile", nullable = true)
	@Caption(value = "downloadFile")
	private String downloadFile;

	@Column(name = "pathFileFolderLaporan", nullable = true)
	@Caption(value = "pathFileFolderLaporan")
	private String pathFileFolderLaporan;
	
	@Column(name = "keteranganLainnya", nullable = true)
	@Caption(value = "keteranganLainnya")
	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 String getDeskripsiLaporan() {
		return deskripsiLaporan;
	}

	public void setDeskripsiLaporan(String deskripsiLaporan) {
		this.deskripsiLaporan = deskripsiLaporan;
	}

	public String getPathFileFolderLaporan() {
		return pathFileFolderLaporan;
	}

	public void setPathFileFolderLaporan(String pathFileFolderLaporan) {
		this.pathFileFolderLaporan = pathFileFolderLaporan;
	}

	public String getKeteranganLainnya() {
		return keteranganLainnya;
	}

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

	public UnitLaporan getUnitLaporan() {
		return unitLaporan;
	}

	public void setUnitLaporan(UnitLaporan unitLaporan) {
		this.unitLaporan = unitLaporan;
	}

	public Integer getUnitLaporanId() {
		return unitLaporanId;
	}

	public void setUnitLaporanId(Integer unitLaporanId) {
		this.unitLaporanId = unitLaporanId;
	}

	public String getDownloadFile() {
		return downloadFile;
	}

	public void setDownloadFile(String downloadFile) {
		this.downloadFile = downloadFile;
	}
	
}
