More subscription license work allow logins addition

This commit is contained in:
2022-08-23 21:41:20 +00:00
parent ae3d576d40
commit e06334a175
13 changed files with 74 additions and 26 deletions

View File

@@ -17,6 +17,7 @@ namespace AyaNova.Models
public long Id { get; set; }
public uint Concurrency { get; set; }
public bool Active { get; set; }
public bool AllowLogin { get; set; }
[Required, MaxLength(255)]
public string Name { get; set; }
public AuthorizationRoles Roles { get; set; }
@@ -54,6 +55,7 @@ namespace AyaNova.Models
[Required]
public bool Active { get; set; }
public bool AllowLogin { get; set; }
[Required, MaxLength(255)]
public string Name { get; set; }
public DateTime? LastLogin { get; set; }
@@ -116,12 +118,12 @@ namespace AyaNova.Models
[JsonIgnore]
public Vendor Vendor { get; set; }
public User()
{
Tags = new List<string>();
}