import { IsBoolean, IsOptional, IsString } from 'class-validator'

export class UpdateRoleDto {
    @IsOptional()
    @IsString()
    code?: string

    @IsOptional()
    @IsString()
    name?: string

    @IsOptional()
    @IsBoolean()
    accessAllBranch?: boolean
}