relation_completer progress
This commit is contained in:
@@ -33,11 +33,14 @@ public:
|
||||
[[nodiscard]] bool is_has_many() const;
|
||||
[[nodiscard]] bool is_belongs_to() const;
|
||||
|
||||
[[nodiscard]] std::shared_ptr<relation_endpoint> foreign_endpoint() const;
|
||||
void link_foreign_endpoint(const std::shared_ptr<relation_endpoint>& endpoint);
|
||||
|
||||
private:
|
||||
std::string field_name_;
|
||||
relation_type type_;
|
||||
std::shared_ptr<schema_node> node_;
|
||||
std::weak_ptr<relation_endpoint> foreign_endpoint;
|
||||
std::shared_ptr<relation_endpoint> foreign_endpoint_;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user