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