t00-multiuser/server/objects/SessionUser.ts
2024-09-26 00:47:08 +01:00

13 lines
No EOL
363 B
TypeScript

import { UserLevel } from "../enums/UserLevel";
export default class SessionUser {
public readonly userId:number;
public readonly userLevel:UserLevel;
public readonly validityPeriod:Date;
constructor(userId:number, userLevel:UserLevel, validityPeriod:Date) {
this.userId = userId;
this.userLevel = userLevel;
this.validityPeriod = validityPeriod;
}
}