Add project files

This commit is contained in:
Sean Greenawalt 2025-05-10 05:16:40 -04:00
commit 8cf01ead74
Signed by: seang96
GPG key ID: 504F02B511005571
40 changed files with 3967 additions and 0 deletions

View file

@ -0,0 +1,18 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace StalwartSimpleLoginMiddleware.Entities;
public class ApiKey
{
[Key]
[StringLength(88)]
[Unicode(false)]
public string Key { get; set; }
[Required] [StringLength(254)] public string OwnerEmail { get; set; }
public bool IsAdmin { get; set; }
public virtual ICollection<Member> Members { get; set; }
}