relation_completer progress

This commit is contained in:
Sascha Kühl
2025-07-02 16:13:56 +02:00
parent 38cbffc18b
commit c4a00f19fd
4 changed files with 28 additions and 31 deletions
+8
View File
@@ -32,4 +32,12 @@ bool relation_endpoint::is_has_many() const {
bool relation_endpoint::is_belongs_to() const {
return type_ == relation_type::BELONGS_TO;
}
std::shared_ptr<relation_endpoint> relation_endpoint::foreign_endpoint() const {
return foreign_endpoint_;
}
void relation_endpoint::link_foreign_endpoint( const std::shared_ptr<relation_endpoint>& endpoint ) {
foreign_endpoint_ = endpoint;
}
}