Prototyping

This commit is contained in:
TheXamlGuy
2024-05-10 22:38:08 +01:00
parent cc63e3d830
commit e372eca4d0
24 changed files with 139 additions and 99 deletions
+22
View File
@@ -0,0 +1,22 @@
using Bitvault.Data;
using System.ComponentModel.DataAnnotations;
namespace Bitvault.Data;
public record Content
{
[Key]
public int Id { get; set; }
public string? Name { get; set; }
public string? Description { get; set; }
public int State { get; set; }
public ICollection<Tag>? Tags { get; }
public Category? Category { get; }
public ICollection<Document>? Documents { get; }
}