84 lines
1.9 KiB
Java
84 lines
1.9 KiB
Java
package com.jasamedika.medifirst2000.entities;
|
|
|
|
import java.util.Date;
|
|
import java.util.HashSet;
|
|
import java.util.Set;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.JoinColumn;
|
|
import javax.persistence.ManyToOne;
|
|
import javax.persistence.OneToMany;
|
|
import javax.persistence.Table;
|
|
|
|
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
|
import com.jasamedika.medifirst2000.vo.StrukOrderVO;
|
|
|
|
@Entity //@Audited
|
|
@Table(name = "PapPengambilanSpesimen_T")
|
|
public class PapPengambilanSpesimen extends MedicalRecordTransaction{
|
|
public PapPengambilanSpesimen()
|
|
{
|
|
|
|
}
|
|
public PapPengambilanSpesimen(Integer jumlah,String noRec, Date tglAmbilSpesimen ) {
|
|
super();
|
|
this.jumlah = jumlah;
|
|
this.noRec=noRec;
|
|
//this.bahanSample = bahanSample;
|
|
//this.strukOrder = strukOrder;
|
|
this.tglAmbilSpesimen = tglAmbilSpesimen;
|
|
|
|
}
|
|
@ManyToOne
|
|
@JoinColumn(name = "BahanSampleFk")
|
|
@Caption(value="Bahan Sample")
|
|
private BahanSample bahanSample;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "StrukOrderFk")
|
|
@Caption(value="Struk Order")
|
|
private StrukOrder strukOrder;
|
|
|
|
@Column(name = "Jumlah")
|
|
@Caption(value="Jumlah")
|
|
private Integer jumlah;
|
|
|
|
@Column(name = "TglAmbilSpesimen")
|
|
@Caption(value="Tanggal Ambil Spesimen")
|
|
private Date tglAmbilSpesimen;
|
|
|
|
public BahanSample getBahanSample() {
|
|
return bahanSample;
|
|
}
|
|
|
|
public void setBahanSample(BahanSample bahanSample) {
|
|
this.bahanSample = bahanSample;
|
|
}
|
|
|
|
public Integer getJumlah() {
|
|
return jumlah;
|
|
}
|
|
|
|
public void setJumlah(Integer jumlah) {
|
|
this.jumlah = jumlah;
|
|
}
|
|
|
|
public Date getTglAmbilSpesimen() {
|
|
return tglAmbilSpesimen;
|
|
}
|
|
|
|
public void setTglAmbilSpesimen(Date tglAmbilSpesimen) {
|
|
this.tglAmbilSpesimen = tglAmbilSpesimen;
|
|
}
|
|
|
|
public StrukOrder getStrukOrder() {
|
|
return strukOrder;
|
|
}
|
|
|
|
public void setStrukOrder(StrukOrder strukOrder) {
|
|
this.strukOrder = strukOrder;
|
|
}
|
|
|
|
}
|