package com.jasamedika.medifirst2000.vo;

import javax.persistence.Column;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.validation.constraints.NotNull;

import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.helper.Caption;

public class MonitoringVO extends BaseTransactionVO{
	
	@ManyToOne
	@JoinColumn(name = "PerencanaanAnestesiFk")
	@NotNull(message = "Perencanaan Anestesi tidak boleh kosong")
	private PerencanaanAnestesiVO perencanaanAnestesi;
	
	@ManyToOne
	@JoinColumn(name = "MonitoringDetailFk")
	@NotNull(message = "Monitoring Detail tidak boleh kosong")
	private MonitoringDetailVO monitoringDetail;
	
	@NotNull(message = "Is Nilai tidak boleh kosong")
	@Column(name = "isNilai")
	@Caption(value = "Is Nilai")
	private Boolean isNilai;
	
	public Boolean getIsNilai() {
		return isNilai;
	}

	public void setIsNilai(Boolean isNilai) {
		this.isNilai = isNilai;
	}

	public PerencanaanAnestesiVO getPerencanaanAnestesi() {
		return perencanaanAnestesi;
	}

	public void setPerencanaanAnestesi(PerencanaanAnestesiVO perencanaanAnestesi) {
		this.perencanaanAnestesi = perencanaanAnestesi;
	}

	public MonitoringDetailVO getMonitoringDetail() {
		return monitoringDetail;
	}

	public void setMonitoringDetail(MonitoringDetailVO monitoringDetail) {
		this.monitoringDetail = monitoringDetail;
	}
}
