package com.jasamedika.medifirst2000.vo;

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

import com.fasterxml.jackson.annotation.JsonBackReference;
import com.jasamedika.medifirst2000.base.BaseMaster;
import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.entities.InformasiMedis;
import com.jasamedika.medifirst2000.entities.TransferPasienInternal;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 *  class Agama
 * 
 * @author Generator
 */
public class DetailInformasiMedisVO extends BaseTransactionVO {
	
	@ManyToOne
	@Caption(value="Transfer Pasien Internal")
	@NotNull(message="TransferPasienInternal Harus Diisi")
	private TransferPasienInternalVO transferPasienInternal;

	@Column(name = "objectTransferPasienInternalFk", insertable=false,updatable=false,nullable=false)
	private String transferPasienInternalId;
	
	@ManyToOne
	@Caption(value="InformasiMedis Pasien")
	@NotNull(message="InformasiMedis Harus Diisi")
	private InformasiMedisVO informasiMedis;
	
	@Column(name = "checked")
	private Boolean checked;

	public TransferPasienInternalVO getTransferPasienInternal() {
		return transferPasienInternal;
	}

	public void setTransferPasienInternal(TransferPasienInternalVO transferPasienInternal) {
		this.transferPasienInternal = transferPasienInternal;
	}

	public String getTransferPasienInternalId() {
		return transferPasienInternalId;
	}

	public void setTransferPasienInternalId(String transferPasienInternalId) {
		this.transferPasienInternalId = transferPasienInternalId;
	}

	public InformasiMedisVO getInformasiMedis() {
		return informasiMedis;
	}

	public void setInformasiMedis(InformasiMedisVO informasiMedis) {
		this.informasiMedis = informasiMedis;
	}


	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	
	
}

