import { ApiProperty } from "@nestjs/swagger";
import { IsDefined } from "class-validator";

export class assignPermissionDto {
    @ApiProperty({ 
        example: [1, 2], 
        required: true,
    })
    @IsDefined()
    permissionIds: any;
}
