Working on fixing build errors
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
#ifndef GENREDTO_H_
|
||||
#define GENREDTO_H_
|
||||
|
||||
#include "oatpp/core/data/mapping/type/Object.hpp"
|
||||
#include "oatpp/core/macro/codegen.hpp"
|
||||
#include <oatpp/core/Types.hpp>
|
||||
|
||||
namespace dto {
|
||||
#include OATPP_CODEGEN_BEGIN(DTO)
|
||||
|
||||
class GenreDto : public oatpp::data::mapping::type::Object {
|
||||
DTO_INIT(GenreDto, Object)
|
||||
class GenreDto : public oatpp::DTO {
|
||||
DTO_INIT(GenreDto, DTO)
|
||||
|
||||
DTO_FIELD(Int32, id);
|
||||
DTO_FIELD(String, category);
|
||||
|
||||
Reference in New Issue
Block a user