import { IsInt, Min } from 'class-validator';
import { TransformNumber } from '../../../shared/decorators/class-transformer/transform-number.decorator';

export class RetrieveGoalParamsDto {
  @TransformNumber()
  @IsInt()
  @Min(1)
  id: number;
}

export class RetrieveGoals_Goal {
  id: number;
  label: string;
  bmrOffset: number;
}

export class RetrieveGoalResponseDto {
  data: RetrieveGoals_Goal;
}
