Spaces:
Running
Running
File size: 685 Bytes
b9c7f0e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | using FlowAPI.Domain.Enums;
namespace FlowAPI.Application.DTOs.Edge
{
public class CreateEdgeDto
{
public Guid GraphId { get; set; }
public Guid FromNodeId { get; set; }
public Guid ToNodeId { get; set; }
public EdgeCondition Condition { get; set; } = EdgeCondition.True;
}
public class UpdateEdgeDto
{
public EdgeCondition? Condition { get; set; }
}
public class EdgeResponseDto
{
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; }
}
}
|