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 JenisWaktu
 * 
 * @author Generator
 */
//@Entity
//@Table(name = "JenisWaktu_M")
public class JenisWaktuVO extends BaseMasterVO {
	@Caption(value="Jam Akhir")
	private Byte jamAkhir;

	public void setJamAkhir(Byte jamAkhir) {
		this.jamAkhir = jamAkhir;
	}

	@Column(name = "JamAkhir", nullable = false )
	public Byte getJamAkhir(){
		return this.jamAkhir;
	}

	@Caption(value="Jam Awal")
	private Byte jamAwal;

	public void setJamAwal(Byte jamAwal) {
		this.jamAwal = jamAwal;
	}

	@Column(name = "JamAwal", nullable = false )
	public Byte getJamAwal(){
		return this.jamAwal;
	}

	@Caption(value="Jenis Waktu")
	private String jenisWaktu;

	public void setJenisWaktu(String jenisWaktu) {
		this.jenisWaktu = jenisWaktu;
	}

	@Column(name = "JenisWaktu", nullable = false , length = 10)
	public String getJenisWaktu(){
		return this.jenisWaktu;
	}

	@ManyToOne
	@JoinColumn(name = "ObjectDepartemenFk")
	@Caption(value="Object Departemen")
	private DepartemenVO departemen;

	public void setDepartemen(DepartemenVO departemen) {
		this.departemen = departemen;
	}

	@Column(name = "KdDepartemen", nullable = true , length = 1)
	public DepartemenVO getDepartemen(){
		return this.departemen;
	}

	@Column(name = "ObjectDepartemenFk", insertable=false,updatable=false)
	private Integer departemenId;

	@Caption(value="Kode Jenis Waktu")
	private Byte kdJenisWaktu;

	public void setKdJenisWaktu(Byte kdJenisWaktu) {
		this.kdJenisWaktu = kdJenisWaktu;
	}

	@Column(name = "KdJenisWaktu", nullable = false )
	public Byte getKdJenisWaktu(){
		return this.kdJenisWaktu;
	}

	@ManyToOne
	@JoinColumn(name = "ObjectKelompokProdukFk")
	@Caption(value="Object Kelompok Produk")
	private KelompokProdukVO kelompokProduk;

	public void setKelompokProduk(KelompokProdukVO kelompokProduk) {
		this.kelompokProduk = kelompokProduk;
	}

	@Column(name = "KdKelompokProduk", nullable = true )
	public KelompokProdukVO getKelompokProduk(){
		return this.kelompokProduk;
	}

	@Column(name = "ObjectKelompokProdukFk", insertable=false,updatable=false)
	private Integer kelompokProdukId;

	@Caption(value="No Urut")
	private Byte noUrut;

	public void setNoUrut(Byte noUrut) {
		this.noUrut = noUrut;
	}

	@Column(name = "NoUrut", nullable = false )
	public Byte getNoUrut(){
		return this.noUrut;
	}

	@Caption(value="QJenis Waktu")
	private Byte qJenisWaktu;

	public void setqJenisWaktu(Byte qJenisWaktu) {
		this.qJenisWaktu = qJenisWaktu;
	}

	@Column(name = "QJenisWaktu", nullable = false )
	public Byte getqJenisWaktu(){
		return this.qJenisWaktu;
	}


}

