package com.jasamedika.medifirst2000.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.validator.constraints.Length;

import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;


/**
 * RuanganMVO generated by hbm2java
 */
//@Entity
//@Table(name = "Ruangan_M_Sample")
public class RuanganMVO extends BaseMasterVO {

	/**
	 * @author Andri
	 */
	private static final long serialVersionUID = -5831330603224345269L;

	@Length(min = 1, max = 3, message = "")
	@Column(name = "kdRuangan", nullable = false)
	private String kdRuangan;

	@Length(min = 1, max = 50, message = "")
	@Column(name = "namaRuangan", nullable = false)
	private String namaRuangan;

	@Length(min = 1, max = 4, message = "")
	@Column(name = "NoRuangan", nullable = true)
	private String noRuangan;

	@Length(min = 1, max = 50, message = "")
	@Column(name = "LokasiRuangan", nullable = true)
	private String lokasiRuangan;

	@Length(min = 7, max = 30, message = "")
	@Column(name = "FixedPhone", nullable = true)
	private String fixedPhone;

	@Length(min = 7, max = 30, message = "")
	@Column(name = "MobilePhone", nullable = true)
	private String mobilePhone;

	@Length(min = 7, max = 30, message = "")
	@Column(name = "Faksimile", nullable = true)
	private String faksimile;

	@Length(min = 1, max = 2, message = "")
	@Column(name = "kdKelasHead", nullable = true)
	private String kdKelasHead;

	@Column(name = "statusViewData", nullable = true)
	private Boolean statusViewData;

	@Length(min = 1, max = 1, message = "")
	@Column(name = "kdDepartemen", nullable = false)
	private char kdDepartemen;

	@Length(min = 1, max = 2, message = "")
	@Column(name = "kdModulAplikasi", nullable = true)
	private String kdModulAplikasi;

	@Length(min =5,max =50, message = "")
	@Column(name = "alamatEmail", nullable = true)
	private String alamatEmail;

	@Length(min = 5,max =80, message = "")
	@Column(name = "website", nullable = true)
	private String website;

	@Length(min = 1,max =30, message = "")
	@Column(name = "kdPegawaiKepala", nullable = true)
	private String kdPegawaiKepala;

	@Column(name = "qruangan", nullable = false)
	private short qruangan;

	@Column(name = "noCounter", nullable = true)
	private int noCounter;

	@Length(min = 1,max =4, message = "")
	@Column(name = "prefixNoAntrian", nullable = true)
	private String prefixNoAntrian;

	@Length(min = 1,max =5, message = "")
	@Column(name = "jamBuka", nullable = true)
	private String jamBuka;

	@Length(min = 1,max =5, message = "")
	@Column(name = "jamTutup", nullable = true)
	private String jamTutup;

	public String getKdRuangan() {
		return kdRuangan;
	}

	public void setKdRuangan(String kdRuangan) {
		this.kdRuangan = kdRuangan;
	}

	public String getKdKelasHead() {
		return kdKelasHead;
	}

	public void setKdKelasHead(String kdKelasHead) {
		this.kdKelasHead = kdKelasHead;
	}

	public Boolean getStatusViewData() {
		return statusViewData;
	}

	public void setStatusViewData(Boolean statusViewData) {
		this.statusViewData = statusViewData;
	}

	public char getKdDepartemen() {
		return kdDepartemen;
	}

	public void setKdDepartemen(char kdDepartemen) {
		this.kdDepartemen = kdDepartemen;
	}

	public String getKdModulAplikasi() {
		return kdModulAplikasi;
	}

	public void setKdModulAplikasi(String kdModulAplikasi) {
		this.kdModulAplikasi = kdModulAplikasi;
	}

	public String getAlamatEmail() {
		return alamatEmail;
	}

	public void setAlamatEmail(String alamatEmail) {
		this.alamatEmail = alamatEmail;
	}

	public String getWebsite() {
		return website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

	public String getKdPegawaiKepala() {
		return kdPegawaiKepala;
	}

	public void setKdPegawaiKepala(String kdPegawaiKepala) {
		this.kdPegawaiKepala = kdPegawaiKepala;
	}

	public short getqruangan() {
		return qruangan;
	}

	public void setqruangan(short qruangan) {
		this.qruangan = qruangan;
	}

	public int getNoCounter() {
		return noCounter;
	}

	public void setNoCounter(int noCounter) {
		this.noCounter = noCounter;
	}

	public String getPrefixNoAntrian() {
		return prefixNoAntrian;
	}

	public void setPrefixNoAntrian(String prefixNoAntrian) {
		this.prefixNoAntrian = prefixNoAntrian;
	}

	public String getJamBuka() {
		return jamBuka;
	}

	public void setJamBuka(String jamBuka) {
		this.jamBuka = jamBuka;
	}

	public String getJamTutup() {
		return jamTutup;
	}

	public void setJamTutup(String jamTutup) {
		this.jamTutup = jamTutup;
	}

	public String getNamaRuangan() {
		return namaRuangan;
	}

	public void setNamaRuangan(String namaRuangan) {
		this.namaRuangan = namaRuangan;
	}

	public String getNoRuangan() {
		return noRuangan;
	}

	public void setNoRuangan(String noRuangan) {
		this.noRuangan = noRuangan;
	}

	public String getLokasiRuangan() {
		return lokasiRuangan;
	}

	public void setLokasiRuangan(String lokasiRuangan) {
		this.lokasiRuangan = lokasiRuangan;
	}

	public String getFixedPhone() {
		return fixedPhone;
	}

	public void setFixedPhone(String fixedPhone) {
		this.fixedPhone = fixedPhone;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public String getFaksimile() {
		return faksimile;
	}

	public void setFaksimile(String faksimile) {
		this.faksimile = faksimile;
	}

	/*
	 * @OneToMany(fetch = FetchType.LAZY, mappedBy = "pk.kdRuangan", cascade =
	 * CascadeType.ALL, orphanRemoval = true) private Set<MapRuanganToKelasM>
	 * MapRuanganToKelasMSet = new HashSet<MapRuanganToKelasM>();
	 * 
	 */

}
