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.BaseMasterVO;
import com.jasamedika.medifirst2000.helper.Caption;


public class IndikatorRensarVO extends BaseMasterVO{
	
	@ManyToOne
	@NotNull(message="Sasaran Strategis tidak boleh kosong")
	@JoinColumn(name = "ObjectSasaranStrategisFK")
	@Caption(value="Sasaran Strategis")
	private SasaranStrategisVO sasaranStrategis;
	
	@Column(name = "Indikator", nullable = false)
	@Caption(value="Indikator")
	private String indikator;

	@Column(name="definisiOperasional",nullable=false, length=7000)
	@Caption(value="Definisi Operasional")
	private String definisiOperasional;
	
	@Column(name="formula",nullable=false,length=1000)
	@Caption(value="Formula")
	private String formula;
	
	public String getIndikator() {
		return indikator;
	}

	public void setIndikator(String indikator) {
		this.indikator = indikator;
	}

	public SasaranStrategisVO getSasaranStrategis() {
		return sasaranStrategis;
	}

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

	public String getDefinisiOperasional() {
		return definisiOperasional;
	}

	public void setDefinisiOperasional(String definisiOperasional) {
		this.definisiOperasional = definisiOperasional;
	}

	public String getFormula() {
		return formula;
	}

	public void setFormula(String formula) {
		this.formula = formula;
	}
}