This commit is contained in:
2018-12-06 20:13:41 +00:00
parent 3317f8b7e6
commit 29caad11e3
4 changed files with 55 additions and 24 deletions

View File

@@ -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>();
}
}
}
/*