Spaces:
Running
Running
File size: 537 Bytes
b9c7f0e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | using FlowAPI.Domain.Enums;
namespace FlowAPI.Domain.Entities
{
public class Edge
{
public Guid Id { get; set; }
public Guid GraphId { get; set; }
public Guid FromNodeId { get; set; }
public Guid ToNodeId { get; set; }
public EdgeCondition Condition { get; set; } = EdgeCondition.True;
// Navigation properties
public Graph Graph { get; set; } = null!;
public TaskNode FromNode { get; set; } = null!;
public TaskNode ToNode { get; set; } = null!;
}
}
|