Spaces:
Running
Running
Download FlowAPI.Domain/Entities/SharedGraph.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 510 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Domain/Entities/SharedGraph.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Domain/Entities/SharedGraph.cs
-
curl -L -o SharedGraph.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Domain/Entities/SharedGraph.cs
510 Bytes
| using System; | |
| namespace FlowAPI.Domain.Entities | |
| { | |
| public class SharedGraph | |
| { | |
| public Guid Id { get; set; } | |
| public Guid GraphId { get; set; } | |
| public Guid SharedWithUserId { get; set; } | |
| public string Permission { get; set; } = "Read"; // "Read" or "Edit" | |
| public DateTime CreatedAt { get; set; } = DateTime.UtcNow; | |
| // Navigation properties | |
| public Graph Graph { get; set; } = null!; | |
| public User SharedWithUser { get; set; } = null!; | |
| } | |
| } | |