t00-multiuser/server/objects/SessionUser.ts

9 lines
225 B
TypeScript
Raw Normal View History

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