import { Type } from 'class-transformer' import { IsNotEmpty, IsString, ValidateNested } from 'class-validator' import { AuthBaseParams } from '../../../../params' export class ReallocateNutriInput { @IsNotEmpty() @IsString() from_availability_time_id: string @IsString() @IsNotEmpty() to_availability_time_id: string } export class ReallocateNutriParams extends AuthBaseParams { @IsNotEmpty() @ValidateNested() @Type(() => ReallocateNutriInput) readonly input: ReallocateNutriInput }