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.fasterxml.jackson.annotation.JsonBackReference;
import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.helper.Caption;

@Entity
@Table(name = "MappingPenilaianKinerjaSatpam_T")
public class MappingPenilaianKinerjaSatpam extends BaseTransaction {

	private static final long serialVersionUID = 9048347812600478623L;

	@JsonBackReference
	@ManyToOne
	@JoinColumn(name = "ObjectPenilaianKinerjaSatpamFk")
	private PenilaianKinerjaSatpam penilaianKinerjaSatpam;

	@Column(name = "ObjectPenilaianKinerjaSatpamFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
	private String penilaianKinerjaSatpamId;

	@Caption(value = "Uraian Tugas")
	@Column(name = "UraianTugas", nullable = true)
	private String uraianTugas;

	@Caption(value = "Kualitas")
	@Column(name = "Kualitas", nullable = true)
	private String kualitas;

	@Caption(value = "Sikap Perilaku")
	@Column(name = "SikapPerilaku", nullable = true)
	private String sikapPerilaku;

	@Column(name = "NilaiUraianTugas", nullable = true)
	private Integer nilaiUraianTugas;

	@Column(name = "NilaiKualitas", nullable = true)
	private Integer nilaiKualitas;

	@Column(name = "NilaiSikapPerilaku", nullable = true)
	private Integer nilaiSikapPerilaku;

	public PenilaianKinerjaSatpam getPenilaianKinerjaSatpam() {
		return penilaianKinerjaSatpam;
	}

	public void setPenilaianKinerjaSatpam(PenilaianKinerjaSatpam penilaianKinerjaSatpam) {
		this.penilaianKinerjaSatpam = penilaianKinerjaSatpam;
	}

	public String getUraianTugas() {
		return uraianTugas;
	}

	public void setUraianTugas(String uraianTugas) {
		this.uraianTugas = uraianTugas;
	}

	public String getKualitas() {
		return kualitas;
	}

	public void setKualitas(String kualitas) {
		this.kualitas = kualitas;
	}

	public String getSikapPerilaku() {
		return sikapPerilaku;
	}

	public void setSikapPerilaku(String sikapPerilaku) {
		this.sikapPerilaku = sikapPerilaku;
	}

	public Integer getNilaiUraianTugas() {
		return nilaiUraianTugas;
	}

	public void setNilaiUraianTugas(Integer nilaiUraianTugas) {
		this.nilaiUraianTugas = nilaiUraianTugas;
	}

	public Integer getNilaiKualitas() {
		return nilaiKualitas;
	}

	public void setNilaiKualitas(Integer nilaiKualitas) {
		this.nilaiKualitas = nilaiKualitas;
	}

	public Integer getNilaiSikapPerilaku() {
		return nilaiSikapPerilaku;
	}

	public void setNilaiSikapPerilaku(Integer nilaiSikapPerilaku) {
		this.nilaiSikapPerilaku = nilaiSikapPerilaku;
	}

}
