2015-12-06 23:37:42 +08:00
|
|
|
#pragma once
|
|
|
|
|
2016-08-25 22:29:45 +08:00
|
|
|
// #include "mvcc/version_list.hpp"
|
|
|
|
// #include "storage/edge_type/edge_type.hpp"
|
2016-08-10 16:39:02 +08:00
|
|
|
#include "storage/model/property_model.hpp"
|
2016-08-25 22:29:45 +08:00
|
|
|
#include "storage/type_group_edge.hpp"
|
2015-12-06 23:37:42 +08:00
|
|
|
|
2016-08-25 22:29:45 +08:00
|
|
|
class EdgeType;
|
|
|
|
|
|
|
|
class EdgeModel : public PropertyModel<TypeGroupEdge>
|
2015-12-06 23:37:42 +08:00
|
|
|
{
|
|
|
|
public:
|
2016-07-07 00:37:05 +08:00
|
|
|
// TODO: here should be the reference
|
|
|
|
// but something that is copyable
|
|
|
|
// because this model is copied all the time (mvcc)
|
2016-08-10 03:29:03 +08:00
|
|
|
const EdgeType *edge_type{nullptr};
|
2015-12-06 23:37:42 +08:00
|
|
|
};
|