Working on Admin page modal

This commit is contained in:
2024-10-13 17:42:40 +02:00
parent d2729870e3
commit 599ce2bf43
15 changed files with 157 additions and 14 deletions

View File

@@ -1,5 +1,6 @@
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
using HopFrame.Database.Attributes;
namespace HopFrame.Database.Models;
@@ -8,7 +9,7 @@ public class User : IPermissionOwner {
[Key, Required, MinLength(36), MaxLength(36)]
public Guid Id { get; init; }
[MaxLength(50)]
[MaxLength(50), ListingProperty]
public string Username { get; set; }
[Required, MaxLength(50), EmailAddress]