Create enum for user role
This commit is contained in:
parent
8814658142
commit
7ab5923ebb
7 changed files with 152 additions and 37 deletions
|
|
@ -1,9 +1,10 @@
|
|||
import { AbstractDto } from "./AbstractDto.js";
|
||||
import { UserRole } from "../enums/UserRole.js";
|
||||
|
||||
export class UserDto extends AbstractDto {
|
||||
firstName?: string;
|
||||
lastName?: string;
|
||||
userName!: string;
|
||||
email!: string;
|
||||
role?: string;
|
||||
role?: UserRole;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue