WIP: backend protection

This commit is contained in:
2022-12-06 12:27:09 +01:00
parent 7330fb90f2
commit 55b5150049
23 changed files with 499 additions and 114 deletions

View File

@@ -0,0 +1,16 @@
using System.ComponentModel.DataAnnotations;
namespace WebAPI.Models
{
public class User
{
#region Properties
[Key]
public Guid Id { get; set; }
public string? Email { get; set; }
[StringLength(50)]
public string? UserName { get; set; }
public DateTime CreatedAt { get; set; }
#endregion
}
}