package com.jasamedika.medifirst2000.vo;

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

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

public class MappingJenisRisikoSasaranStrategisVO extends BaseMasterVO{

	@ManyToOne
	@JoinColumn(name = "sasaranStrategisFk")
	@NotNull(message="Sasaran Strategis Harus Diisi")
	@Caption(value="Sasaran Strategis")
	private SasaranStrategisVO sasaranStrategis;
	
	@ManyToOne
	@JoinColumn(name = "risikoFk")
	@NotNull(message="Risiko Harus Diisi")
	@Caption(value="Risiko")
	private RisikoVO risiko;

	public SasaranStrategisVO getSasaranStrategis() {
		return sasaranStrategis;
	}

	public void setSasaranStrategis(SasaranStrategisVO sasaranStrategis) {
		this.sasaranStrategis = sasaranStrategis;
	}

	public RisikoVO getRisiko() {
		return risiko;
	}

	public void setRisiko(RisikoVO risiko) {
		this.risiko = risiko;
	}
}
