87 lines
2.3 KiB
Java
87 lines
2.3 KiB
Java
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.validation.constraints.NotNull;
|
|
|
|
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
|
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
|
|
public class PersepsiPasienVO extends BaseTransactionVO{
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectPasienDaftarFk")
|
|
@NotNull(message="PasienDaftar Harus Diisi")
|
|
@Caption(value="PasienDaftar")
|
|
private AntrianPasienDiPeriksaVO pasienDaftar;
|
|
|
|
@NotNull(message = "Tgl Input tidak boleh kosong")
|
|
@Column(name = "tglInput", nullable = false)
|
|
@Caption(value = "Tgl Input")
|
|
private Date tglInput;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectKesehatanFk")
|
|
@NotNull(message="Object Kesehatan Harus Diisi")
|
|
@Caption(value="Object Kesehatan")
|
|
private StatusKesehatanVO kesehatan;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectPenyebabPenyakitFk")
|
|
@NotNull(message="Object PenyebabPenyakit Harus Diisi")
|
|
@Caption(value="Object PenyebabPenyakit")
|
|
private StatusPenyebabPenyakitVO penyebabPenyakit;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectYangDilakukanFk")
|
|
@NotNull(message="Object YangDilakukan Harus Diisi")
|
|
@Caption(value="Object YangDilakukan")
|
|
private StatusYangDilakukanVO yangDilakukan;
|
|
|
|
public AntrianPasienDiPeriksaVO getPasienDaftar() {
|
|
return pasienDaftar;
|
|
}
|
|
|
|
public void setPasienDaftar(AntrianPasienDiPeriksaVO pasienDaftar) {
|
|
this.pasienDaftar = pasienDaftar;
|
|
}
|
|
|
|
public Date getTglInput() {
|
|
return tglInput;
|
|
}
|
|
|
|
public void setTglInput(Date tglInput) {
|
|
this.tglInput = tglInput;
|
|
}
|
|
|
|
public StatusKesehatanVO getKesehatan() {
|
|
return kesehatan;
|
|
}
|
|
|
|
public void setKesehatan(StatusKesehatanVO kesehatan) {
|
|
this.kesehatan = kesehatan;
|
|
}
|
|
|
|
public StatusPenyebabPenyakitVO getPenyebabPenyakit() {
|
|
return penyebabPenyakit;
|
|
}
|
|
|
|
public void setPenyebabPenyakit(StatusPenyebabPenyakitVO penyebabPenyakit) {
|
|
this.penyebabPenyakit = penyebabPenyakit;
|
|
}
|
|
|
|
public StatusYangDilakukanVO getYangDilakukan() {
|
|
return yangDilakukan;
|
|
}
|
|
|
|
public void setYangDilakukan(StatusYangDilakukanVO yangDilakukan) {
|
|
this.yangDilakukan = yangDilakukan;
|
|
}
|
|
|
|
}
|