package com.jasamedika.medifirst2000.entities;

import com.fasterxml.jackson.annotation.JsonBackReference;
import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.helper.Caption;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;

@Getter
@Setter
@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)
	private String penilaianKinerjaSatpamId;

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

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

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

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

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

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

}
