116. Adding user class properties (#13)
This commit is contained in:
@ -5,11 +5,10 @@ export class User {
|
|||||||
username: string;
|
username: string;
|
||||||
email: string;
|
email: string;
|
||||||
profileImageUrl: string;
|
profileImageUrl: string;
|
||||||
lastLoginDate: Date;
|
|
||||||
lastLoginDateDisplay: Date;
|
lastLoginDateDisplay: Date;
|
||||||
joinDate: Date;
|
joinDate: Date;
|
||||||
role: string; //ROLE_USER, ROLE_ADMIN
|
role: string; //ROLE_USER, ROLE_ADMIN
|
||||||
authorities: string[];
|
authorities: string[];
|
||||||
isActive: boolean;
|
active: boolean;
|
||||||
isNotLocked: boolean;
|
notLocked: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user