FIX: Fixed create user req

This commit is contained in:
Gabriel Rosa
2022-07-08 12:28:40 -03:00
parent d1961a9710
commit ea04f59e04
+15 -17
View File
@@ -79,7 +79,21 @@ export class CreateUserReq {
@ApiProperty()
name: string;
@ApiProperty()
username: string;
email: string;
@ApiProperty()
roles: string[];
@ApiProperty()
jobTitle: string;
@ApiProperty()
department: string;
@ApiProperty()
hierarchy: number;
}
export class CreateUserRes {
@ApiProperty()
id: string;
@ApiProperty()
name: string;
@ApiProperty()
email: string;
@ApiProperty()
@@ -99,22 +113,6 @@ export class CreateUserReq {
@ApiProperty()
updatedAt: string;
}
export class CreateUserRes {
@ApiProperty()
id: string;
@ApiProperty()
name: string;
@ApiProperty()
email: string;
@ApiProperty()
roles: string[];
@ApiProperty()
jobTitle: string;
@ApiProperty()
department: string;
@ApiProperty()
hierarchy: number;
}
export class GetAllUsersByCustomerIdReq {
@ApiPropertyOptional()