namespace TrackQrApi.Models;

public class QRCodeDesign
{
    public Guid Id { get; set; }
    public Guid WorkspaceId { get; set; }
    public Guid? ProjectId { get; set; }
    public Guid? ShortLinkId { get; set; }
    public required string Name { get; set; }
    public required string StyleJson { get; set; }
    public Guid? LogoAssetId { get; set; }
    public DateTime CreatedAt { get; set; }
    public DateTime UpdatedAt { get; set; }

    // Navigation properties
    public Workspace Workspace { get; set; } = null!;
    public Project? Project { get; set; }
    public ShortLink? ShortLink { get; set; }
    public Asset? LogoAsset { get; set; }
    public ICollection<Event> Events { get; set; } = [];
}