front end version 2 de framadate, un gestionnaire de sondage
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import { Poll } from './poll.model'; |
|
import { UserRole } from '../enums/user-role.enum'; |
|
|
|
export class User { |
|
constructor( |
|
public role: UserRole = UserRole.ANONYMOUS, |
|
public isOwner: boolean = false, |
|
public pseudo?: string, |
|
public email?: string, |
|
public polls?: Poll[] |
|
) {} |
|
}
|
|
|