18 lines
423 B
C++
18 lines
423 B
C++
#pragma once
|
|
|
|
#include "mvcc/version_list.hpp"
|
|
#include "storage/model/property_model.hpp"
|
|
#include "storage/edge_type/edge_type.hpp"
|
|
|
|
class EdgeModel : public PropertyModel
|
|
{
|
|
public:
|
|
VertexRecord *from;
|
|
VertexRecord *to;
|
|
|
|
// TODO: here should be the reference
|
|
// but something that is copyable
|
|
// because this model is copied all the time (mvcc)
|
|
const EdgeType *edge_type {nullptr};
|
|
};
|