Spaces:
Running
Running
| using System; | |
| namespace FlowAPI.Domain.Entities | |
| { | |
| public class CustomTemplate | |
| { | |
| public Guid Id { get; set; } | |
| public Guid UserId { get; set; } | |
| public string Title { get; set; } = string.Empty; | |
| public string Description { get; set; } = string.Empty; | |
| public string Category { get; set; } = "Custom"; | |
| public string Icon { get; set; } = "BookOpen"; | |
| public string ContentJson { get; set; } = string.Empty; // Holds serialized nodes and edges | |
| public DateTime CreatedAt { get; set; } = DateTime.UtcNow; | |
| // Navigation properties | |
| public User User { get; set; } = null!; | |
| } | |
| } | |