diff --git a/src/dto/HealthDto.hpp b/src/dto/HealthDto.hpp index af6b69c..8971d90 100644 --- a/src/dto/HealthDto.hpp +++ b/src/dto/HealthDto.hpp @@ -10,9 +10,9 @@ * Data Transfer Object. Object containing fields only. * Used in API for serialization/deserialization and validation */ -class HealthDto : public oatpp::Object { +class HealthDto : public oatpp::DTO { - DTO_INIT(HealthDto, Object) + DTO_INIT(HealthDto, DTO) DTO_FIELD(String, status);