fix: removed transient keyword

This commit is contained in:
Laureηt 2022-05-25 17:13:23 +02:00
parent 2de9e4e5fa
commit 1b3aa4d330
No known key found for this signature in database
GPG key ID: D88C6B294FD40994

View file

@ -28,7 +28,7 @@ public class User implements Serializable {
// mot de passe hashé en sha256
@NonNull
@NotBlank
private transient String password;
private String password;
// portefeuille
@OneToMany(mappedBy = "owner")
@ -39,7 +39,7 @@ public class User implements Serializable {
private Integer balance = 0;
@Column(unique = true)
private transient String sessionID;
private String sessionID;
public User(String username, String password) {
this.username = username;