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

public class SkoringDetailVO extends BaseMasterVO {
	
	@ManyToOne
	@JoinColumn(name = "ObjectSkoringFk")
	@NotNull(message="Kd Skoring tidak boleh kosong")
	@Caption(value="Object Skoring")
	private SkoringVO skoring;
	
	
	@Column(name = "Score", nullable = false , length = 100)
	@Caption(value="Score")
	private Integer score;
	
	@Column(name = "Deskripsi", nullable = false , length = 100)
	@Caption(value="Deskripsi")
	private String deskripsi;

	public SkoringVO getSkoring() {
		return skoring;
	}

	public void setSkoring(SkoringVO skoring) {
		this.skoring = skoring;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public String getDeskripsi() {
		return deskripsi;
	}

	public void setDeskripsi(String deskripsi) {
		this.deskripsi = deskripsi;
	}
	
	

}
