package com.jasamedika.medifirst2000.entities;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.jasamedika.medifirst2000.base.BaseMaster;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 * class DiklatJurusan
 * 
 * @author Generator
 */
@Entity
@Table(name = "DiklatJurusan_M")
public class DiklatJurusan extends BaseMaster {
	@Column(name = "kdDiklatJurusan", nullable = false)
	@Caption(value = "kdDiklatJurusan")
	private Integer kdDiklatJurusan;

	@Column(name = "diklatJurusan", nullable = false)
	@Caption(value = "diklatJurusan")
	private String diklatJurusan;

	@ManyToOne
	@JoinColumn(name = "diklatJurusanHeadFk")
	@Caption(value = "diklatJurusanHead")
	private DiklatJurusan diklatJurusanHead;

	@Column(name = "diklatJurusanHeadFk", insertable = false, updatable = false)
	private Integer diklatJurusanHeadId;

	@Column(name = "qtySksMin", nullable = false)
	@Caption(value = "qtySksMin")
	private Integer qtySksMin;

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

	@Column(name = "tglBerdiri", nullable = true)
	@Caption(value = "tglBerdiri")
	private Date tglBerdiri;

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

	@Column(name = "tglAkreditasiLast", nullable = true)
	@Caption(value = "tglAkreditasiLast")
	private Date tglAkreditasiLast;

	@Column(name = "qdiklatJurusan", nullable = true)
	@Caption(value = "qdiklatJurusan")
	private Integer qdiklatJurusan;

	public Integer getKdDiklatJurusan() {
		return kdDiklatJurusan;
	}

	public void setKdDiklatJurusan(Integer kdDiklatJurusan) {
		this.kdDiklatJurusan = kdDiklatJurusan;
	}

	public String getDiklatJurusan() {
		return diklatJurusan;
	}

	public void setDiklatJurusan(String diklatJurusan) {
		this.diklatJurusan = diklatJurusan;
	}

	public DiklatJurusan getDiklatJurusanHead() {
		return diklatJurusanHead;
	}

	public void setDiklatJurusanHead(DiklatJurusan diklatJurusanHead) {
		this.diklatJurusanHead = diklatJurusanHead;
	}

	public Integer getDiklatJurusanHeadId() {
		return diklatJurusanHeadId;
	}

	public void setDiklatJurusanHeadId(Integer diklatJurusanHeadId) {
		this.diklatJurusanHeadId = diklatJurusanHeadId;
	}

	public Integer getQtySksMin() {
		return qtySksMin;
	}

	public void setQtySksMin(Integer qtySksMin) {
		this.qtySksMin = qtySksMin;
	}

	public String getNoSkBerdiri() {
		return noSkBerdiri;
	}

	public void setNoSkBerdiri(String noSkBerdiri) {
		this.noSkBerdiri = noSkBerdiri;
	}

	public Date getTglBerdiri() {
		return tglBerdiri;
	}

	public void setTglBerdiri(Date tglBerdiri) {
		this.tglBerdiri = tglBerdiri;
	}

	public String getKdStatusAkredistasiLast() {
		return kdStatusAkredistasiLast;
	}

	public void setKdStatusAkredistasiLast(String kdStatusAkredistasiLast) {
		this.kdStatusAkredistasiLast = kdStatusAkredistasiLast;
	}

	public Date getTglAkreditasiLast() {
		return tglAkreditasiLast;
	}

	public void setTglAkreditasiLast(Date tglAkreditasiLast) {
		this.tglAkreditasiLast = tglAkreditasiLast;
	}

	public Integer getQdiklatJurusan() {
		return qdiklatJurusan;
	}

	public void setQdiklatJurusan(Integer qdiklatJurusan) {
		this.qdiklatJurusan = qdiklatJurusan;
	}

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

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
		
}