Binato/server/objects/database/UserInfo.ts

25 lines
757 B
TypeScript
Raw Normal View History

2023-10-04 15:10:38 +01:00
import { Permissions } from "../../enums/Permissions";
2023-09-10 12:59:22 +01:00
export default class UserInfo {
2023-08-20 13:03:01 +01:00
id:number = Number.MIN_VALUE;
username:string = "";
username_safe:string = "";
password_hash:string = "";
password_salt:string = "";
email:string = "";
country:string = "";
reg_date:Date = new Date(0);
last_login_date:Date = new Date(0);
last_played_mode:number = Number.MIN_VALUE;
online_now:boolean = false;
2023-10-04 15:10:38 +01:00
tags:Permissions = Permissions.None;
2023-08-20 13:03:01 +01:00
supporter:boolean = false;
web_session:string = "";
verification_needed:boolean = false;
password_change_required:boolean = false;
has_old_password:number = Number.MIN_VALUE;
password_reset_key:string = "";
away_message:string = "";
last_modified_time:Date = new Date(0);
is_deleted:boolean = false;
}