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 HariLibur
 * 
 * @author Generator
 */
//@Entity
//@Table(name = "HariLibur_M")
public class HariLiburVO extends BaseMasterVO {
	@ManyToOne
	@JoinColumn(name = "ObjectHariLiburFk")
	@NotNull(message="Object HariVO Libur Harus Diisi")
	@Caption(value="Object HariVO Libur")
	private HariVO hariLibur;

	public void setHariLibur(HariVO hariLibur) {
		this.hariLibur = hariLibur;
	}

	@Column(name = "KdHariLibur", nullable = false )
	public HariVO getHariLibur(){
		return this.hariLibur;
	}

	@Column(name = "ObjectHariLiburFk", insertable=false,updatable=false)
	private Integer hariLiburId;

	@Caption(value="Nama HariVO Libur")
	private String namaHariLibur;

	public void setNamaHariLibur(String namaHariLibur) {
		this.namaHariLibur = namaHariLibur;
	}

	@Column(name = "NamaHariLibur", nullable = false , length = 50)
	public String getNamaHariLibur(){
		return this.namaHariLibur;
	}

	@Caption(value="QHariVO Libur")
	private Byte qHariLibur;

	public void setqHariLibur(Byte qHariLibur) {
		this.qHariLibur = qHariLibur;
	}

	@Column(name = "QHariLibur", nullable = false )
	public Byte getqHariLibur(){
		return this.qHariLibur;
	}


}

