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:
parent
a23bec7a5d
commit
ca5a5ca4cb
16
DataCenter_Windows/WindowsDataCenter/Interfaces/Group.cs
Normal file
16
DataCenter_Windows/WindowsDataCenter/Interfaces/Group.cs
Normal 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; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -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" />
|
||||||
|
|||||||
@ -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; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user