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

14 lines
398 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[] = [],
2021-11-12 12:50:21 +01:00
public role: UserRole = UserRole.ADMIN,
public modifier_token: string = '',
public created_at: string = new Date().toISOString()
2020-06-12 19:17:39 +02:00
) {}
}