File size: 489 Bytes
b9c7f0e
 
 
 
 
 
 
 
452ab3c
b9c7f0e
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 string Condition { get; set; } = "True";

        // Navigation properties
        public Graph Graph { get; set; } = null!;
        public TaskNode FromNode { get; set; } = null!;
        public TaskNode ToNode { get; set; } = null!;
    }
}