FEAT: new route for updating Roles and changed hierarchy to string

This commit is contained in:
Gabriel Rosa
2022-07-12 14:27:54 -03:00
parent 398360fadb
commit bb5befb2f6
3 changed files with 30 additions and 3 deletions
+3 -3
View File
@@ -30,7 +30,7 @@ export class User {
@ApiProperty()
department: string;
@ApiProperty()
hierarchy: number;
hierarchy: string;
@ApiProperty()
customer: Customer;
@ApiProperty()
@@ -52,7 +52,7 @@ export class UserWithoutRoles {
@ApiProperty()
department: string;
@ApiProperty()
hierarchy: number;
hierarchy: string;
@ApiProperty()
customer: Customer;
@ApiProperty()
@@ -90,7 +90,7 @@ export class CreateUserReq {
@ApiPropertyOptional()
department: string;
@ApiPropertyOptional()
hierarchy: number;
hierarchy: string;
}
export class CreateUserRes {
@ApiProperty()