Created Group object.

added Group list to User object for UI to bind to in order to show list of associated groups etc.
#59
This commit is contained in:
Chris.Watts90@outlook.com 2017-03-08 16:25:20 +00:00
parent a23bec7a5d
commit ca5a5ca4cb
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Interfaces
{
public class Group
{
public int Id { get; set; }
public string Name { get; set; }
public int UserCount { get; set; }
public bool IsAssociatedToUser { get; set; }
}
}

View File

@ -42,6 +42,7 @@
<ItemGroup> <ItemGroup>
<Compile Include="AppDetails.cs" /> <Compile Include="AppDetails.cs" />
<Compile Include="DailyLogs.cs" /> <Compile Include="DailyLogs.cs" />
<Compile Include="Group.cs" />
<Compile Include="ILogger.cs" /> <Compile Include="ILogger.cs" />
<Compile Include="IRepository.cs" /> <Compile Include="IRepository.cs" />
<Compile Include="Identifier.cs" /> <Compile Include="Identifier.cs" />

View File

@ -23,6 +23,7 @@ namespace Interfaces
public DateTime LastEventDateTime { get; set; } public DateTime LastEventDateTime { get; set; }
public List<Identifier> AssociatedIdentifiers { get; set; } public List<Identifier> AssociatedIdentifiers { get; set; }
public List<Group> Groups { get; set; }
public bool State { get; set; } public bool State { get; set; }
} }
} }