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;

public class PengobatanKhususDetailVO  extends BaseTransactionVO {
	
	@ManyToOne
	@JoinColumn(name = "PengobatanKhususFk")
	@NotNull(message = "Pengobatan Khusus tidak boleh kosong")
	private PengobatanKhususVO pengobatanKhusus;
	@Column(name = "value", insertable=false,updatable=false,nullable = true)
	private String value;

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	@ManyToOne
	@JoinColumn(name = "CheckInFk")
	@NotNull(message = "CheckIn tidak boleh kosong")
	private CheckInVO checkIn;

	public PengobatanKhususVO getPengobatanKhusus() {
		return pengobatanKhusus;
	}

	public void setPengobatanKhusus(PengobatanKhususVO pengobatanKhusus) {
		this.pengobatanKhusus = pengobatanKhusus;
	}

	public CheckInVO getCheckIn() {
		return checkIn;
	}

	public void setCheckIn(CheckInVO checkIn) {
		this.checkIn = checkIn;
	}
	
	

}
