Spaces:
Running
Running
Download FlowAPI.Domain/Entities/Graph.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 722 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Domain/Entities/Graph.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Domain/Entities/Graph.cs
-
curl -L -o Graph.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Domain/Entities/Graph.cs
722 Bytes
| namespace FlowAPI.Domain.Entities | |
| { | |
| public class Graph | |
| { | |
| public Guid Id { get; set; } | |
| public Guid UserId { get; set; } | |
| public string Title { get; set; } = string.Empty; | |
| public string? Description { get; set; } | |
| public DateTime CreatedAt { get; set; } = DateTime.UtcNow; | |
| public DateTime UpdatedAt { get; set; } = DateTime.UtcNow; | |
| // Navigation properties | |
| public User User { get; set; } = null!; | |
| public ICollection<TaskNode> Nodes { get; set; } = new List<TaskNode>(); | |
| public ICollection<Edge> Edges { get; set; } = new List<Edge>(); | |
| public ICollection<SharedGraph> SharedGraphs { get; set; } = new List<SharedGraph>(); | |
| } | |
| } | |