feat(workspaces): adds models
This commit is contained in:
14
src/api/Models/Project.cs
Normal file
14
src/api/Models/Project.cs
Normal 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; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user