Tidied up code, going to put up the coding convention later on
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
#include "oatpp/core/data/mapping/type/Object.hpp"
|
||||
#include "oatpp/core/macro/codegen.hpp"
|
||||
|
||||
namespace Dto
|
||||
namespace dto
|
||||
{
|
||||
#include OATPP_CODEGEN_BEGIN(DTO)
|
||||
|
||||
class loginResultDto : public oatpp::data::mapping::type::Object
|
||||
class LoginResultDto : public oatpp::data::mapping::type::Object
|
||||
{
|
||||
DTO_INIT(loginResultDto, Object)
|
||||
DTO_INIT(LoginResultDto, Object)
|
||||
|
||||
DTO_FIELD(Int32, id);
|
||||
DTO_FIELD(String, username);
|
||||
@@ -20,9 +20,9 @@ namespace Dto
|
||||
DTO_FIELD(String, message);
|
||||
};
|
||||
|
||||
class userDto : public oatpp::data::mapping::type::Object
|
||||
class UserDto : public oatpp::data::mapping::type::Object
|
||||
{
|
||||
DTO_INIT(userDto, Object)
|
||||
DTO_INIT(UserDto, Object)
|
||||
|
||||
DTO_FIELD(String, username);
|
||||
DTO_FIELD(String, password);
|
||||
@@ -4,13 +4,13 @@
|
||||
#include "oatpp/core/data/mapping/type/Object.hpp"
|
||||
#include "oatpp/core/macro/codegen.hpp"
|
||||
|
||||
namespace Dto
|
||||
namespace dto
|
||||
{
|
||||
#include OATPP_CODEGEN_BEGIN(DTO)
|
||||
|
||||
class songDto : public oatpp::data::mapping::type::Object
|
||||
class SongDto : public oatpp::data::mapping::type::Object
|
||||
{
|
||||
DTO_INIT(songDto, Object)
|
||||
DTO_INIT(SongDto, Object)
|
||||
|
||||
DTO_FIELD(Int32, id);
|
||||
DTO_FIELD(String, title);
|
||||
Reference in New Issue
Block a user