added a bigger real-life demo
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#ifndef INTERNAL_USER_DIRECTORY_HPP
|
||||
#define INTERNAL_USER_DIRECTORY_HPP
|
||||
|
||||
#include "UserDirectory.hpp"
|
||||
|
||||
#include "matador/utils/base_class.hpp"
|
||||
|
||||
namespace work::models::admin {
|
||||
struct InternalUserDirectory : UserDirectory {
|
||||
template<typename Operator>
|
||||
void process( Operator& op ) {
|
||||
namespace field = matador::access;
|
||||
field::process( op, *matador::base_class<UserDirectory>( this ) );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#endif //INTERNALUSERDIRECTORY_HPP
|
||||
Reference in New Issue
Block a user