#ifndef USER_DIRECTORY_HPP #define USER_DIRECTORY_HPP #include "../core/Model.hpp" #include "matador/utils/base_class.hpp" namespace work::models::admin { struct UserDirectory : core::Model { std::string name; template void process( Operator& op ) { namespace field = matador::access; field::process( op, *matador::base_class( this ) ); field::attribute( op, "name", name, 511 ); } }; } #endif //USER_DIRECTORY_HPP