user create command and user repo

This commit is contained in:
2026-02-04 22:18:05 +01:00
parent b73fd8eb05
commit 01f25fb093
10 changed files with 136 additions and 5 deletions

View File

@@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
namespace AipsCore.Infrastructure.Entities;
public class User
{
[Key]
public Guid Id { get; set; }
[Required] [MaxLength(255)] public string Username { get; set; } = null!;
[Required] [MaxLength(255)] public string Email { get; set; } = null!;
}