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 SasaranStrategisVO extends BaseMasterVO{
	
	@ManyToOne
	@NotNull(message="Perspektif tidak boleh kosong")
	@JoinColumn(name = "ObjectPerspektifFK")
	@Caption(value="Perspektif")
	private PerspektifVO perspektif;

	@NotNull(message="Nama Sasaran Strategis tidak boleh kosong")
	@Column(name = "SasaranStrategis", nullable = true , length = 200)
	@Caption(value="Sasaran Strategis")
	private String sasaranStrategis;

	@Column(name="kdSasaranStrategis",nullable = false)
	@Caption("Kode Sasaran Strategis")
	private String kdSasaranStrategis;
	
	@Column(name="awalPeriode",nullable = false)
	@Caption("Awal Periode")
	private Integer awalPeriode;
	
	@Column(name="akhirPeriode",nullable = false)
	@Caption("Akhir Periode")
	private Integer akhirPeriode;
	
	public String getSasaranStrategis() {
		return sasaranStrategis;
	}

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

	public String getKdSasaranStrategis() {
		return kdSasaranStrategis;
	}

	public void setKdSasaranStrategis(String kdSasaranStrategis) {
		this.kdSasaranStrategis = kdSasaranStrategis;
	}

	public Integer getAwalPeriode() {
		return awalPeriode;
	}

	public void setAwalPeriode(Integer awalPeriode) {
		this.awalPeriode = awalPeriode;
	}

	public Integer getAkhirPeriode() {
		return akhirPeriode;
	}

	public void setAkhirPeriode(Integer akhirPeriode) {
		this.akhirPeriode = akhirPeriode;
	}

	public PerspektifVO getPerspektif() {
		return perspektif;
	}

	public void setPerspektif(PerspektifVO perspektif) {
		this.perspektif = perspektif;
	}
}
