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