75 lines
1.6 KiB
Java
75 lines
1.6 KiB
Java
package com.jasamedika.medifirst2000.entities;
|
|
|
|
import java.util.Date;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.FetchType;
|
|
import javax.persistence.JoinColumn;
|
|
import javax.persistence.ManyToOne;
|
|
import javax.persistence.Table;
|
|
|
|
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
|
|
@Entity
|
|
@Table(name = "DetailLogbookDokter_T")
|
|
public class DetailLogbookDokter extends BaseTransaction {
|
|
|
|
private static final long serialVersionUID = 8003361970314967209L;
|
|
|
|
@Column(name = "count", nullable = true)
|
|
@Caption(value = "Count")
|
|
private Long count;
|
|
|
|
@Column(name = "harga", nullable = true)
|
|
@Caption(value = "Harga")
|
|
private Double harga;
|
|
|
|
@Column(name = "tanggal", nullable = true)
|
|
@Caption(value = "Tanggal")
|
|
private Date tanggal;
|
|
|
|
@ManyToOne(fetch=FetchType.LAZY)
|
|
@Caption(value="Object Logbook Dokter")
|
|
@JoinColumn(name="ObjectLogbookDokterFK")
|
|
private LogbookDokter logbookDokter;
|
|
|
|
public Long getCount() {
|
|
return count;
|
|
}
|
|
|
|
public void setCount(Long count) {
|
|
this.count = count;
|
|
}
|
|
|
|
public Double getHarga() {
|
|
return harga;
|
|
}
|
|
|
|
public void setHarga(Double harga) {
|
|
this.harga = harga;
|
|
}
|
|
|
|
public Date getTanggal() {
|
|
return tanggal;
|
|
}
|
|
|
|
public void setTanggal(Date tanggal) {
|
|
this.tanggal = tanggal;
|
|
}
|
|
|
|
public LogbookDokter getLogbookDokter() {
|
|
return logbookDokter;
|
|
}
|
|
|
|
public void setLogbookDokter(LogbookDokter logbookDokter) {
|
|
this.logbookDokter = logbookDokter;
|
|
}
|
|
|
|
public static long getSerialversionuid() {
|
|
return serialVersionUID;
|
|
}
|
|
|
|
}
|