pluginAuth: string | null
+ lastLoginDate: Date | null
+
createdAt: Date
constructor (hash: Partial<UserServerModel>) {
this.createdAt = hash.createdAt
this.pluginAuth = hash.pluginAuth
+ this.lastLoginDate = hash.lastLoginDate
if (hash.account !== undefined) {
this.account = new Account(hash.account)