package com.jasamedika.medifirst2000.vo;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import org.hibernate.validator.constraints.NotEmpty;

import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.internal.util.logging.Messages;

import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 *  class AsKepKajian
 * 
 * @author Generator
 */
//@Entity
//@Table(name = "AsKepKajian_M")
public class AsKepKajianVO extends BaseMasterVO {
	@Caption(value="Deskripsi Kajian")
	private String deskripsiKajian;

	public void setDeskripsiKajian(String deskripsiKajian) {
		this.deskripsiKajian = deskripsiKajian;
	}

	@Column(name = "DeskripsiKajian", nullable = true , length = 150)
	public String getDeskripsiKajian(){
		return this.deskripsiKajian;
	}

	@Caption(value="Kajian")
	private String kajian;

	public void setKajian(String kajian) {
		this.kajian = kajian;
	}

	@Column(name = "Kajian", nullable = true , length = 150)
	public String getKajian(){
		return this.kajian;
	}

	@ManyToOne
	@JoinColumn(name = "ObjectJenisKajianFk")
	@NotNull(message="Object Jenis Kajian Harus Diisi")
	@Caption(value="Object Jenis Kajian")
	private AsKepJenisKajianVO jenisKajian;

	public void setJenisKajian(AsKepJenisKajianVO jenisKajian) {
		this.jenisKajian = jenisKajian;
	}

	@Column(name = "KdJenisKajian", nullable = false )
	public AsKepJenisKajianVO getJenisKajian(){
		return this.jenisKajian;
	}

	@Column(name = "ObjectJenisKajianFk", insertable=false,updatable=false)
	private Integer jenisKajianId;
	
	

	public Integer getJenisKajianId() {
		return jenisKajianId;
	}

	public void setJenisKajianId(Integer jenisKajianId) {
		this.jenisKajianId = jenisKajianId;
	}

	@Caption(value="Kode Kajian")
	private Integer kdKajian;

	@Column(name = "KdKajian", nullable = false )
	public Integer getKdKajian() {
		return kdKajian;
	}

	public void setKdKajian(Integer kdKajian) {
		this.kdKajian = kdKajian;
	}

	@ManyToOne
	@JoinColumn(name = "ObjectKategoryKajianFk")
	@NotNull(message="Object Kategory Kajian Harus Diisi")
	@Caption(value="Object Kategory Kajian")
	private AsKepKategoryKajianVO kategoryKajian;

	public void setKategoryKajian(AsKepKategoryKajianVO kategoryKajian) {
		this.kategoryKajian = kategoryKajian;
	}

	@Column(name = "KdKategoryKajian", nullable = false )
	public AsKepKategoryKajianVO getKategoryKajian(){
		return this.kategoryKajian;
	}

	@Column(name = "ObjectKategoryKajianFk", insertable=false,updatable=false)
	private Integer kategoryKajianId;
	
	

	public Integer getKategoryKajianId() {
		return kategoryKajianId;
	}

	public void setKategoryKajianId(Integer kategoryKajianId) {
		this.kategoryKajianId = kategoryKajianId;
	}

	@Caption(value="Nilai Normal")
	private String nilaiNormal;

	public void setNilaiNormal(String nilaiNormal) {
		this.nilaiNormal = nilaiNormal;
	}

	@Column(name = "NilaiNormal", nullable = false , length = 50)
	public String getNilaiNormal(){
		return this.nilaiNormal;
	}

	@Caption(value="QKajian")
	private Integer qKajian;

	@Column(name = "QKajian", nullable = false )
	public Integer getqKajian() {
		return qKajian;
	}

	public void setqKajian(Integer qKajian) {
		this.qKajian = qKajian;
	}



}

