9 lines
225 B
TypeScript
9 lines
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;
|
||
|
}
|
||
|
}
|