This commit is contained in:
@@ -37,12 +37,18 @@ namespace AyaNova.Models
|
||||
public long? HeadOfficeId { get; set; }
|
||||
public long? SubVendorId { get; set; }
|
||||
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
//relations
|
||||
//https://docs.microsoft.com/en-us/ef/core/modeling/relationships#other-relationship-patterns
|
||||
[JsonIgnore]//hide from being returned (as null anyway) with User object in routes
|
||||
public UserOptions UserOptions { get; set; }
|
||||
|
||||
public User()
|
||||
{
|
||||
Tags = new List<string>();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user