diff --git a/src/app/user.ts b/src/app/user.ts index e9d2a88612425cdf57eb5b6b0c43f42b40a7adc1..99ed66b0aa3147d13824cb0862574d23d58168f6 100644 --- a/src/app/user.ts +++ b/src/app/user.ts @@ -5,11 +5,13 @@ export class User { name: string; email: string; role: UserRole; + token: string; - constructor(id: number, name: string, email: string, role: UserRole) { + constructor(id: number, name: string, email: string, role: UserRole, token: string) { this.id = id; this.name = name; this.email = email; this.role = role; + this.token = token; } }