package com.jasamedika.medifirst2000.vo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.validation.constraints.NotNull;

import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.helper.Caption;

@Entity
@Table(name = "HasilPemeriksaanSwaDetail_T")
public class HasilPemeriksaanSwaDetailVO extends BaseTransaction {
	
	@ManyToOne
	@JoinColumn(name = "ObjectParameterFk")
	@NotNull(message = "Parameter tidak boleh kosong") 
	@Caption(value="Object Parameter")
	private ParameterVO parameter;
	
	@ManyToOne
	@JoinColumn(name = "ObjectSatuanStandarFk")
	@Caption(value="Satuan")
	private SatuanStandarVO satuanStandar;

	@Column(name = "Nilai")
	@Caption(value="nilai")
	private Double nilai;

	public ParameterVO getParameter() {
		return parameter;
	}

	public void setParameter(ParameterVO parameter) {
		this.parameter = parameter;
	}

	public SatuanStandarVO getSatuanStandar() {
		return satuanStandar;
	}

	public void setSatuanStandar(SatuanStandarVO satuanStandar) {
		this.satuanStandar = satuanStandar;
	}

	public Double getNilai() {
		return nilai;
	}

	public void setNilai(Double nilai) {
		this.nilai = nilai;
	}

	
	

		
}
