16 lines
652 B
C#
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;
|
||
|
|
}
|