Workspace Metadata Rows

This commit is contained in:
Jöran Malek 2024-02-16 02:24:25 +01:00
parent e9c6e14965
commit a62b5a1f29
8 changed files with 324 additions and 7 deletions

View file

@ -9,14 +9,12 @@ namespace InkForge.Data
public abstract class Entity<TEntity, TKey>
: ValueEntity<TEntity>
where TKey : struct, INumber<TKey>
{
public TKey? Id { get; set; }
}
public abstract class VersionedEntity<TEntity, TKey>
: ValueEntity<TEntity>
where TKey : struct, INumber<TKey>
{
public TKey Id { get; set; }

View file

@ -0,0 +1,5 @@
namespace InkForge.Data.Infrastructure;
public class MetadataEntity : Entity<string, string>;
public class MetadataVersionEntity : VersionedEntity<string, string>;