feat(workspaces): adds models

This commit is contained in:
2026-01-27 14:33:16 -05:00
parent 33c6dadb78
commit fe0686050d
8 changed files with 1119 additions and 1 deletions

14
src/api/Models/Project.cs Normal file
View File

@@ -0,0 +1,14 @@
namespace Api.Models;
public class Project
{
public Guid Id { get; set; }
public Guid WorkspaceId { get; set; }
public required string Name { get; set; }
public DateTime CreatedAt { get; set; }
// Navigation properties
public Workspace Workspace { get; set; } = null!;
public ICollection<ShortLink> ShortLinks { get; set; } = [];
public ICollection<QRCodeDesign> QRCodeDesigns { get; set; } = [];
}