package com.jasamedika.medifirst2000.vo;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import org.hibernate.validator.constraints.NotEmpty;

import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.internal.util.logging.Messages;

import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 *  class MorfologiNeoplasma
 * 
 * @author Generator
 */
//@Entity
//@Table(name = "MorfologiNeoplasma_M")
public class MorfologiNeoplasmaVO extends BaseMasterVO {
	@ManyToOne
	@JoinColumn(name = "ObjectDiagnosaFk")
	@NotNull(message="Object DiagnosaVO Harus Diisi")
	@Caption(value="Object Diagnosa")
	private DiagnosaVO diagnosa;

	public void setDiagnosa(DiagnosaVO diagnosa) {
		this.diagnosa = diagnosa;
	}

	@Column(name = "KdDiagnosa", nullable = false , length = 10)
	public DiagnosaVO getDiagnosa(){
		return this.diagnosa;
	}

	@Column(name = "ObjectDiagnosaFk", insertable=false,updatable=false)
	private Integer diagnosaId;

	@Caption(value="Kode Morfologi Neoplasma")
	private Byte kdMorfologiNeoplasma;

	public void setKdMorfologiNeoplasma(Byte kdMorfologiNeoplasma) {
		this.kdMorfologiNeoplasma = kdMorfologiNeoplasma;
	}

	@Column(name = "KdMorfologiNeoplasma", nullable = false )
	public Byte getKdMorfologiNeoplasma(){
		return this.kdMorfologiNeoplasma;
	}

	@Caption(value="Morfologi Neoplasma")
	private String morfologiNeoplasma;

	public void setMorfologiNeoplasma(String morfologiNeoplasma) {
		this.morfologiNeoplasma = morfologiNeoplasma;
	}

	@Column(name = "MorfologiNeoplasma", nullable = false , length = 100)
	public String getMorfologiNeoplasma(){
		return this.morfologiNeoplasma;
	}

	@Caption(value="QMorfologi Neoplasma")
	private Byte qMorfologiNeoplasma;

	public void setqMorfologiNeoplasma(Byte qMorfologiNeoplasma) {
		this.qMorfologiNeoplasma = qMorfologiNeoplasma;
	}

	@Column(name = "QMorfologiNeoplasma", nullable = false )
	public Byte getqMorfologiNeoplasma(){
		return this.qMorfologiNeoplasma;
	}


}

