danylokhodus's picture
Claude Opus 5.5
feat: remove AI assistant, Free/Plus plans, user templates API, security fixes
6d07d79
Raw History Blame Contribute Delete
1.22 kB
using System;
namespace FlowAPI.Application.DTOs.Template
{
/// <summary>
/// A user template. Content is an opaque JSON document produced by the web client:
/// { "version": 2, "nodes": [...], "edges": [...] } in React Flow format.
/// </summary>
public class TemplateDto
{
public Guid Id { get; set; }
public string Title { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public string Category { get; set; } = string.Empty;
public string Icon { get; set; } = string.Empty;
public string Content { get; set; } = string.Empty;
public DateTime CreatedAt { get; set; }
}
public class CreateTemplateDto
{
public string Title { get; set; } = string.Empty;
public string? Description { get; set; }
public string? Category { get; set; }
public string? Icon { get; set; }
public string Content { get; set; } = string.Empty;
}
public class UpdateTemplateDto
{
public string? Title { get; set; }
public string? Description { get; set; }
public string? Category { get; set; }
public string? Icon { get; set; }
}
}