danylokhodus's picture
init
b9c7f0e
Raw History Blame
537 Bytes
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!;
}
}