import { IsNotEmpty, ValidateNested } from 'class-validator' import { Type } from 'class-transformer' export class InactiveNutriInput { @IsNotEmpty() user_id: string } export class InactiveNutriParams { @IsNotEmpty() @ValidateNested() @Type(() => InactiveNutriInput) readonly input: InactiveNutriInput }