fix telepon and init lupas
This commit is contained in:
@@ -9,6 +9,7 @@ import org.hibernate.annotations.Type;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Date;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
@@ -63,10 +64,10 @@ public class DrpPengadaan extends BaseEntity {
|
||||
private Long strategiPengadaanId;
|
||||
|
||||
@Column(name = "rencana_tanggal")
|
||||
private Timestamp rencanaTanggal;
|
||||
private Date rencanaTanggal;
|
||||
|
||||
@Column(name = "target_tanggal")
|
||||
private Timestamp targetTanggal;
|
||||
private Date targetTanggal;
|
||||
|
||||
@Column(name = "hpe")
|
||||
private BigDecimal hpe;
|
||||
|
@@ -8,6 +8,7 @@ import lombok.NoArgsConstructor;
|
||||
import org.hibernate.annotations.Type;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@@ -30,6 +31,9 @@ public class Users extends BaseEntity {
|
||||
@Column(name = "email")
|
||||
private String email;
|
||||
|
||||
@Column(name = "telepon")
|
||||
private String telepon;
|
||||
|
||||
@Column(name = "password")
|
||||
private String password;
|
||||
|
||||
@@ -45,6 +49,12 @@ public class Users extends BaseEntity {
|
||||
@Column(name = "role_id")
|
||||
private Long roleId;
|
||||
|
||||
@Column(name = "remember_id")
|
||||
private String rememberId;
|
||||
|
||||
@Column(name = "expired_time")
|
||||
private Timestamp expiredTime;
|
||||
|
||||
@Column(name = "is_active")
|
||||
@Type(type = "org.hibernate.type.NumericBooleanType")
|
||||
private Boolean isActive;
|
||||
|
Reference in New Issue
Block a user