@ -1,5 +1,6 @@
|
||||
package net.shyshkin.study.fullstack.supportportal.backend.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.*;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
@ -29,7 +30,10 @@ public class User implements Serializable {
|
||||
private String firstName;
|
||||
private String lastName;
|
||||
private String username;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String password;
|
||||
|
||||
private String email;
|
||||
private String profileImageUrl;
|
||||
private LocalDateTime lastLoginDate;
|
||||
|
||||
Reference in New Issue
Block a user