Expanded on user domain model

This commit is contained in:
Veljko Tosic
2026-02-09 23:21:50 +01:00
parent 1f6af52f14
commit 5fc79d70f9
7 changed files with 87 additions and 10 deletions

View File

@@ -7,6 +7,16 @@ 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!;
[Required]
[MaxLength(255)]
public string Username { get; set; } = null!;
[Required]
[MaxLength(255)]
public string Email { get; set; } = null!;
public DateTime CreatedAt { get; set; }
public DateTime? DeletedAt { get; set; }
}