Added EF entity, Migrations, Whiteboard repository service

This commit is contained in:
Veljko Tosic
2026-02-09 00:18:02 +01:00
parent e9ea07b58a
commit e526d25116
7 changed files with 223 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
using System.ComponentModel.DataAnnotations;
namespace AipsCore.Infrastructure.Persistence.Whiteboard;
public class Whiteboard
{
[Key]
public Guid Id { get; set; }
[Required]
public Guid WhiteboardOwnerId { get; set; }
[Required]
[MaxLength(8)]
[MinLength(8)]
public string Code { get; set; } = null!;
[Required]
[MaxLength(32)]
[MinLength(3)]
public string Title { get; set; } = null!;
}