Spaces:
Running
Running
Download FlowAPI.Domain/Entities/TaskNode.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 802 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/ecea7e2cf65ddcb1a751ceab68c14ecad830aa29/FlowAPI.Domain/Entities/TaskNode.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@ecea7e2cf65ddcb1a751ceab68c14ecad830aa29/FlowAPI.Domain/Entities/TaskNode.cs
-
curl -L -o TaskNode.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/ecea7e2cf65ddcb1a751ceab68c14ecad830aa29/FlowAPI.Domain/Entities/TaskNode.cs
802 Bytes
| using FlowAPI.Domain.Enums; | |
| namespace FlowAPI.Domain.Entities | |
| { | |
| public class TaskNode | |
| { | |
| public Guid Id { get; set; } | |
| public Guid GraphId { get; set; } | |
| public string Label { get; set; } = string.Empty; | |
| public double PosX { get; set; } | |
| public double PosY { get; set; } | |
| public string Type { get; set; } = "sketch"; | |
| public string? Decision { get; set; } | |
| public NodeState State { get; set; } = NodeState.Pending; | |
| public DateTime CreatedAt { get; set; } = DateTime.UtcNow; | |
| // Navigation properties | |
| public Graph Graph { get; set; } = null!; | |
| public ICollection<Edge> OutgoingEdges { get; set; } = new List<Edge>(); | |
| public ICollection<Edge> IncomingEdges { get; set; } = new List<Edge>(); | |
| } | |
| } | |