src/businessUnit/dto/update-bu-user.dto.ts
Properties |
| roleId |
Type : number
|
Decorators :
@IsNotEmpty()
|
| userId |
Type : string
|
Decorators :
@IsNotEmpty()
|
|
Defined in src/businessUnit/dto/update-bu-user.dto.ts:8
|
import { ApiProperty } from "@nestjs/swagger";
import { IsNotEmpty, IsString } from "class-validator";
export class UpdateBUUserDto {
@IsNotEmpty()
@IsString()
@ApiProperty({ required: true })
userId: string;
@IsNotEmpty()
@ApiProperty({ required: true })
roleId: number;
}