Update entitas master voucher
Penyesuaian penambahan filed database
This commit is contained in:
parent
83560eed53
commit
20280f93e9
@ -4,6 +4,7 @@ import com.jasamedika.medifirst2000.base.BaseTransaction;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.hibernate.validator.constraints.Email;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
@ -68,4 +69,26 @@ public class VoucherPaket extends BaseTransaction {
|
||||
private Boolean isBatal;
|
||||
|
||||
private Boolean isSelesai;
|
||||
|
||||
@Column(name = "tglinput")
|
||||
private Date tanggalInput;
|
||||
|
||||
@Column(name = "deposit")
|
||||
private Double deposit;
|
||||
|
||||
@Column(length = 150)
|
||||
@Email(message = "Email tidak sesuai format")
|
||||
@Size(max = 150, message = "Maksimal email harus 150 karakter")
|
||||
private String email;
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "lastpegawaifk")
|
||||
@Caption(value = "Pegawai")
|
||||
private Pegawai pegawai;
|
||||
|
||||
@Column(name = "lastpegawaifk", insertable = false, updatable = false)
|
||||
private Integer pegawaiId;
|
||||
|
||||
@Column(name = "lastmodifiedtime")
|
||||
private Date modifiedDate;
|
||||
}
|
||||
|
||||
@ -2,8 +2,11 @@ package com.jasamedika.medifirst2000.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
|
||||
import com.jasamedika.medifirst2000.entities.Pegawai;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.hibernate.validator.constraints.Email;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
@ -44,4 +47,19 @@ public class VoucherPaketVO extends BaseTransactionVO {
|
||||
private Boolean isBatal;
|
||||
|
||||
private Boolean isSelesai;
|
||||
|
||||
private Date tanggalInput;
|
||||
|
||||
private Double deposit;
|
||||
|
||||
@Email(message = "Email tidak sesuai format")
|
||||
@Size(max = 150, message = "Maksimal email harus 150 karakter")
|
||||
private String email;
|
||||
|
||||
@Caption(value = "Pegawai")
|
||||
private Pegawai pegawai;
|
||||
|
||||
private Integer pegawaiId;
|
||||
|
||||
private Date modifiedDate;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user