Need to work on the ability to fetch records for Artist, Genre, and Year

This commit is contained in:
kdeng00
2019-09-06 22:38:14 -04:00
parent de838da040
commit e9241cf6a5
8 changed files with 200 additions and 6 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifndef YEARDTO_H_
#define YEARDTO_H_
#include "oatpp/core/data/mapping/type/Object.hpp"
#include "oatpp/core/macro/codegen.hpp"
namespace dto
{
#include OATPP_CODEGEN_BEGIN(DTO)
class YearDto : public oatpp::data::mapping::type::Object
{
DTO_INIT(YearDto, Object)
DTO_FIELD(Int32, id);
DTO_FIELD(Int32, year);
};
#include OATPP_CODEGEN_END(DTO)
}
#endif