Update Habsen

Pembuatan kolom tag untuk menandai presensi sebagai masuk atau keluar/pulang
This commit is contained in:
Salman Manoe 2022-01-20 21:22:29 +07:00
parent 81f098c596
commit b30061a52c
2 changed files with 28 additions and 1 deletions

View File

@ -76,11 +76,19 @@ public class Habsen extends BaseModel {
@Column(name = "lokasi", nullable = true, length = 1000) @Column(name = "lokasi", nullable = true, length = 1000)
@Caption(value = "lokasi") @Caption(value = "lokasi")
private String lokasi; private String lokasi;
@Column(name = "jenispresensi", nullable = true) @Column(name = "jenispresensi", nullable = true)
@Caption(value = "Jenis Presensi") @Caption(value = "Jenis Presensi")
private Integer jenisPresensi; private Integer jenisPresensi;
/**
* 0. Presensi keluar/pulang<br/>
* 1. Presensi masuk
*/
@Column(name = "tag", nullable = true)
@Caption(value = "Tag")
private Short tag;
public Integer getTr_no() { public Integer getTr_no() {
return tr_no; return tr_no;
} }
@ -201,4 +209,12 @@ public class Habsen extends BaseModel {
this.jenisPresensi = jenisPresensi; this.jenisPresensi = jenisPresensi;
} }
public Short getTag() {
return tag;
}
public void setTag(Short tag) {
this.tag = tag;
}
} }

View File

@ -58,6 +58,9 @@ public class HabsenVO extends BaseMasterVO {
@Caption(value = "imageURLData") @Caption(value = "imageURLData")
private String imageURLData; private String imageURLData;
@Caption(value = "tag")
private Short tag;
public Integer getTr_no() { public Integer getTr_no() {
return tr_no; return tr_no;
} }
@ -194,4 +197,12 @@ public class HabsenVO extends BaseMasterVO {
this.imageURLData = imageURLData; this.imageURLData = imageURLData;
} }
public Short getTag() {
return tag;
}
public void setTag(Short tag) {
this.tag = tag;
}
} }