funky-framadate-front/src/app/core/models/user.model.ts

13 lines
288 B
TypeScript
Raw Normal View History

import { Poll } from './poll.model';
2020-05-01 19:10:17 +02:00
import { UserRole } from '../enums/user-role.enum';
export class User {
constructor(
2020-05-01 19:10:17 +02:00
public role: UserRole = UserRole.ANONYMOUS,
public isOwner: boolean = false,
public pseudo?: string,
public email?: string,
public polls?: Poll[]
) {}
}