Add project files
This commit is contained in:
parent
4dafed3553
commit
8cf01ead74
40 changed files with 3967 additions and 0 deletions
14
StalwartSimpleLoginMiddleware/Entities/Member.cs
Normal file
14
StalwartSimpleLoginMiddleware/Entities/Member.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace StalwartSimpleLoginMiddleware.Entities;
|
||||
|
||||
public class Member
|
||||
{
|
||||
[Required] [StringLength(88)] public string ApiKeyId { get; set; }
|
||||
|
||||
[Required] [StringLength(254)] public string Email { get; set; }
|
||||
|
||||
public bool IsExternal { get; set; }
|
||||
|
||||
public virtual ApiKey ApiKey { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue