package com.jasamedika.medifirst2000.entities;

import javax.persistence.*;

import com.jasamedika.medifirst2000.base.BaseMaster;
import com.jasamedika.medifirst2000.helper.Caption;
import lombok.Getter;
import lombok.Setter;

import static javax.persistence.GenerationType.SEQUENCE;

/**
 * class FaktorEvaluasi
 * 
 * @author Generator
 */
@Getter
@Setter
@Entity
@Table(name = "sdm_FaktorEvaluasi_M")
public class FaktorEvaluasi extends BaseMaster {

	@Column(name = "Profile", nullable = false, columnDefinition = "text")
	@Caption(value = "Profile")
	private String profile;

	@Column(name = "Nilai", nullable = false, columnDefinition = "text")
	@Caption(value = "Nilai")
	private String nilai;

	@Column(name = "Deskripsi", nullable = false, columnDefinition = "text")
	@Caption(value = "Deskripsi")
	private String deskripsi;

	@Column(name = "Faktor", nullable = false, columnDefinition = "text")
	@Caption(value = "Faktor")
	private String faktor;

	@Id
	@GeneratedValue(strategy = SEQUENCE, generator = "public.sdm_FaktorEvaluasi_T_id_seq")
	@SequenceGenerator(name = "public.sdm_FaktorEvaluasi_T_id_seq", sequenceName = "public.sdm_FaktorEvaluasi_T_id_seq", allocationSize = 1)
	@Column(name = "id")
	protected Integer id;

}