68 lines
1.6 KiB
Java
68 lines
1.6 KiB
Java
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.BaseTransactionVO;
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
|
|
public class SterilisasiAlatVO extends BaseTransactionVO {
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectBundleSetAlatFk")
|
|
@NotNull(message = "Bundle set alat tidak boleh kosong")
|
|
@Caption(value="Object Bundle Set Alat")
|
|
private BundleSetAlatVO bundleSetAlat;
|
|
|
|
@Column(name = "Jumlah", nullable = true)
|
|
@Caption(value = "Jumlah")
|
|
private Integer jumlah;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectSatuanStandarFk")
|
|
@NotNull(message = "Satuan standar tidak boleh kosong")
|
|
@Caption(value="Object Satuan Standar")
|
|
private SatuanStandarVO satuanStandar;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectRuanganFk")
|
|
@NotNull(message = "Ruangan tidak boleh kosong")
|
|
@Caption(value="Object Ruangan")
|
|
private RuanganVO ruangan;
|
|
|
|
public BundleSetAlatVO getBundleSetAlat() {
|
|
return bundleSetAlat;
|
|
}
|
|
|
|
public void setBundleSetAlat(BundleSetAlatVO bundleSetAlat) {
|
|
this.bundleSetAlat = bundleSetAlat;
|
|
}
|
|
|
|
public Integer getJumlah() {
|
|
return jumlah;
|
|
}
|
|
|
|
public void setJumlah(Integer jumlah) {
|
|
this.jumlah = jumlah;
|
|
}
|
|
|
|
public SatuanStandarVO getSatuanStandar() {
|
|
return satuanStandar;
|
|
}
|
|
|
|
public void setSatuanStandar(SatuanStandarVO satuanStandar) {
|
|
this.satuanStandar = satuanStandar;
|
|
}
|
|
|
|
public RuanganVO getRuangan() {
|
|
return ruangan;
|
|
}
|
|
|
|
public void setRuangan(RuanganVO ruangan) {
|
|
this.ruangan = ruangan;
|
|
}
|
|
|
|
}
|