2021-01-07 11:34:56 +07:00

139 lines
2.8 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="UraianTugasFlexible_T")
public class UraianTugasFlexible extends BaseTransaction{
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="Object Pegawai")
@JoinColumn(name="ObjectPegawaiFk")
private Pegawai pegawai;
@Column(name="ObjectPegawaiFk", nullable=true, insertable=false, updatable=false)
private Integer pegawaiId;
@ManyToOne(fetch=FetchType.LAZY)
@Caption(value="Object Atasan")
@JoinColumn(name="ObjectAtasanFk")
private Pegawai atasan;
@Column(name="ObjectAtasanFk", nullable=true, insertable=false, updatable=false)
private Integer atasanId;
@Caption(value="Approval Status")
@Column(name="ApprovalStatus", nullable=true)
private Boolean approvalStatus;
@Caption(value="rincianKegiatan")
@Column(name="rincianKegiatan", nullable=true)
private String rincianKegiatan;
@Caption(value="satuan")
@Column(name="satuan", nullable=true)
private String satuan;
@Caption(value="waktu")
@Column(name="waktu", nullable=true)
private Integer waktu;
@Caption(value="volume")
@Column(name="volume", nullable=true)
private Integer volume;
@Caption(value="tgl")
@Column(name="tgl", nullable=true)
private Date tgl;
public Pegawai getPegawai() {
return pegawai;
}
public void setPegawai(Pegawai pegawai) {
this.pegawai = pegawai;
}
public Integer getPegawaiId() {
return pegawaiId;
}
public void setPegawaiId(Integer pegawaiId) {
this.pegawaiId = pegawaiId;
}
public Pegawai getAtasan() {
return atasan;
}
public void setAtasan(Pegawai atasan) {
this.atasan = atasan;
}
public Integer getAtasanId() {
return atasanId;
}
public void setAtasanId(Integer atasanId) {
this.atasanId = atasanId;
}
public Boolean getApprovalStatus() {
return approvalStatus;
}
public void setApprovalStatus(Boolean approvalStatus) {
this.approvalStatus = approvalStatus;
}
public String getRincianKegiatan() {
return rincianKegiatan;
}
public void setRincianKegiatan(String rincianKegiatan) {
this.rincianKegiatan = rincianKegiatan;
}
public String getSatuan() {
return satuan;
}
public void setSatuan(String satuan) {
this.satuan = satuan;
}
public Integer getWaktu() {
return waktu;
}
public void setWaktu(Integer waktu) {
this.waktu = waktu;
}
public Integer getVolume() {
return volume;
}
public void setVolume(Integer volume) {
this.volume = volume;
}
public Date getTgl() {
return tgl;
}
public void setTgl(Date tgl) {
this.tgl = tgl;
}
}