EUS/objects/SessionUser.ts
2025-01-05 14:22:18 +00:00

15 lines
No EOL
436 B
TypeScript

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