[entity] Add columns hashed_password
, role
, blocked
in table Employee
This commit is contained in:
parent
2ae3fd429d
commit
ab0c956d9f
@ -25,6 +25,15 @@ public class Employee {
|
||||
@Column(name = "name", nullable = false)
|
||||
private String name;
|
||||
|
||||
@Column(name = "hashed_password", nullable = false)
|
||||
private String hashedPassword;
|
||||
|
||||
@Column(name = "role", nullable = false)
|
||||
private String role;
|
||||
|
||||
@Column(name = "blocked", nullable = false)
|
||||
private Boolean blocked;
|
||||
|
||||
@Column(name = "photo", nullable = false)
|
||||
private String photo;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user