EUS/objects/SessionUser.ts

13 lines
352 B
TypeScript
Raw Normal View History

2025-01-01 02:18:50 +00:00
import UserType from "../enums/UserType";
export default class SessionUser {
public readonly userId:number;
public readonly userType:UserType;
public readonly validityPeriod:Date;
constructor(userId:number, userType: UserType, validityPeriod:Date) {
this.userId = userId;
this.userType = userType;
this.validityPeriod = validityPeriod;
}
}