|
@@ -2,14 +2,14 @@
|
|
|
#ifndef DTOs_hpp
|
|
|
#define DTOs_hpp
|
|
|
|
|
|
-#include "oatpp/core/data/mapping/type/Object.hpp"
|
|
|
+#include "oatpp/core/Types.hpp"
|
|
|
#include "oatpp/core/macro/codegen.hpp"
|
|
|
|
|
|
#include OATPP_CODEGEN_BEGIN(DTO)
|
|
|
|
|
|
-class MessageDto : public oatpp::data::mapping::type::Object {
|
|
|
+class MessageDto : public oatpp::DTO {
|
|
|
|
|
|
- DTO_INIT(MessageDto, Object)
|
|
|
+ DTO_INIT(MessageDto, DTO)
|
|
|
|
|
|
DTO_FIELD(String, message);
|
|
|
|