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

13 lines
313 B
TypeScript
Raw Normal View History

2020-05-01 19:10:17 +02:00
import { UserRole } from '../enums/user-role.enum';
2020-05-05 18:17:12 +02:00
import { Poll } from './poll.model';
export class Owner {
2020-06-12 19:17:39 +02:00
constructor(
2020-11-05 19:13:43 +01:00
public pseudo: string = 'pseudo',
public email: string = '_nonexistent_contact@cipherbliss.com',
2020-06-12 19:17:39 +02:00
public polls: Poll[] = [],
public role?: UserRole,
public token?: string
) {}
}