added some more entities for work demo
This commit is contained in:
@@ -38,7 +38,7 @@ struct CollectionCenter : core::Model {
|
||||
field::attribute( op, "name", name, 511 );
|
||||
field::attribute( op, "symbol", symbol );
|
||||
field::attribute( op, "type", type );
|
||||
field::has_many( op, "users", users, "collection_center_id", matador::utils::fetch_type::LAZY );
|
||||
field::has_many( op, "collection_center_users", users, "collection_center_id", matador::utils::fetch_type::LAZY );
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user