t00-multiuser/server/objects/SessionUser.ts

9 lines
No EOL
225 B
TypeScript

export default class SessionUser {
public readonly userId:number;
public readonly validityPeriod:Date;
constructor(userId:number, validityPeriod:Date) {
this.userId = userId;
this.validityPeriod = validityPeriod;
}
}