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 JenisObjekModulAplikasi
 * 
 * @author Generator
 */
//@Entity
//@Table(name = "JenisObjekModulAplikasi_S")
public class JenisObjekModulAplikasiVO extends BaseMasterVO {
	@Caption(value="Jenis Objek Modul")
	private String jenisObjekModul;

	public void setJenisObjekModul(String jenisObjekModul) {
		this.jenisObjekModul = jenisObjekModul;
	}

	@Column(name = "JenisObjekModul", nullable = false , length = 50)
	public String getJenisObjekModul(){
		return this.jenisObjekModul;
	}

	@ManyToOne
	@JoinColumn(name = "ObjectHistoryLoginIFk")
	@Caption(value="Object History Login I")
	private HistoryLoginModulAplikasiVO historyLoginI;

	public void setHistoryLoginI(HistoryLoginModulAplikasiVO historyLoginI) {
		this.historyLoginI = historyLoginI;
	}

	@Column(name = "KdHistoryLoginI", nullable = true )
	public HistoryLoginModulAplikasiVO getHistoryLoginI(){
		return this.historyLoginI;
	}

	@Column(name = "ObjectHistoryLoginIFk", insertable=false,updatable=false)
	private Integer historyLoginIId;

	@ManyToOne
	@JoinColumn(name = "ObjectHistoryLoginSFk")
	@Caption(value="Object History Login S")
	private HistoryLoginModulAplikasiVO historyLoginS;

	public void setHistoryLoginS(HistoryLoginModulAplikasiVO historyLoginS) {
		this.historyLoginS = historyLoginS;
	}

	@Column(name = "KdHistoryLoginS", nullable = true )
	public HistoryLoginModulAplikasiVO getHistoryLoginS(){
		return this.historyLoginS;
	}

	@Column(name = "ObjectHistoryLoginSFk", insertable=false,updatable=false)
	private Integer historyLoginSId;

	@ManyToOne
	@JoinColumn(name = "ObjectHistoryLoginUFk")
	@Caption(value="Object History Login U")
	private HistoryLoginModulAplikasiVO historyLoginU;

	public void setHistoryLoginU(HistoryLoginModulAplikasiVO historyLoginU) {
		this.historyLoginU = historyLoginU;
	}

	@Column(name = "KdHistoryLoginU", nullable = true )
	public HistoryLoginModulAplikasiVO getHistoryLoginU(){
		return this.historyLoginU;
	}

	@Column(name = "ObjectHistoryLoginUFk", insertable=false,updatable=false)
	private Integer historyLoginUId;

	@Caption(value="Kode Jenis Objek Modul")
	private Byte kdJenisObjekModul;

	public void setKdJenisObjekModul(Byte kdJenisObjekModul) {
		this.kdJenisObjekModul = kdJenisObjekModul;
	}

	@Column(name = "KdJenisObjekModul", nullable = false )
	public Byte getKdJenisObjekModul(){
		return this.kdJenisObjekModul;
	}

	@Caption(value="Keterangan")
	private String keterangan;

	public void setKeterangan(String keterangan) {
		this.keterangan = keterangan;
	}

	@Column(name = "Keterangan", nullable = true , length = 200)
	public String getKeterangan(){
		return this.keterangan;
	}


}

