File size: 633 Bytes
b9c7f0e
 
 
 
 
 
 
452ab3c
b9c7f0e
 
 
 
452ab3c
b9c7f0e
 
 
 
 
 
 
 
452ab3c
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
namespace FlowAPI.Application.DTOs.Edge
{
    public class CreateEdgeDto
    {
        public Guid GraphId { get; set; }
        public Guid FromNodeId { get; set; }
        public Guid ToNodeId { get; set; }
        public string Condition { get; set; } = "True";
    }

    public class UpdateEdgeDto
    {
        public string? 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 string Condition { get; set; } = "True";
    }
}