Files
flatrender/services/content/FlatRender.ContentSvc/Domain/Entities/ProjectAsset.cs
T
soroush.asadi 7fe5f8a563
Build backend images / build content-svc (push) Failing after 1m36s
Build backend images / build file-svc (push) Failing after 1m28s
Build backend images / build gateway (push) Failing after 2m11s
Build backend images / build identity-svc (push) Failing after 2m11s
Build backend images / build notification-svc (push) Failing after 3m46s
Build backend images / build render-svc (push) Failing after 55s
Build backend images / build studio-svc (push) Failing after 1m2s
feat(admin): standalone Projects page + per-project asset manager
- content-svc: GET /v1/projects (browse/search all projects across containers,
  paginated, admin) returning template name/slug + AE status; project_assets
  table (mig 23) + entity; GET/POST/DELETE /v1/projects/{id}/assets
- /admin/projects: searchable, paginated list of every renderable project with
  thumbnail, template, aspect/resolution, AE-file + publish status
- ProjectAssets component: list/upload/delete named footage/image/audio/font
  files per project (reused in the projects page; AE file upload alongside)
- nav + fa/en "Projects" label

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 00:39:33 +03:30

16 lines
652 B
C#

namespace FlatRender.ContentSvc.Domain.Entities;
/// <summary>A named asset file (footage/image/audio/font) attached to a project, alongside its .aep.</summary>
public class ProjectAsset
{
public Guid Id { get; set; } = Guid.NewGuid();
public Guid ProjectId { get; set; }
public string Name { get; set; } = default!;
public string Kind { get; set; } = "footage"; // footage | image | audio | font | other
public string Url { get; set; } = default!;
public string? MinioKey { get; set; }
public long? SizeBytes { get; set; }
public int Sort { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
}