This commit is contained in:
2020-01-16 23:40:36 +00:00
parent d3cb9bea90
commit 54f90be425
4 changed files with 29 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ namespace AyaNova.Models
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
[Required]
public bool Active { get; set; }
[Required, MaxLength(255)]
@@ -44,6 +44,9 @@ namespace AyaNova.Models
[JsonIgnore]//hide from being returned (as null anyway) with User object in routes
public UserOptions UserOptions { get; set; }
[JsonIgnore]//hide from being returned (as null anyway) with User object in routes
public Widget Widget { get; set; }
public User()
{
Tags = new List<string>();