added Group list to User object for UI to bind to in order to show list of associated groups etc. #59
29 lines
827 B
C#
29 lines
827 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Interfaces
|
|
{
|
|
public class User
|
|
{
|
|
public User()
|
|
{
|
|
AssociatedIdentifiers = new List<Identifier>();
|
|
FirstName = "";
|
|
LastName = "";
|
|
}
|
|
public int UserId { get; set; }
|
|
public string FirstName { get; set; }
|
|
public string LastName { get; set; }
|
|
public float HoursPerWeek { get; set; }
|
|
public bool IsContractor { get; set; }
|
|
public int AssociatedIdentifierCount
|
|
{
|
|
get { return AssociatedIdentifiers.Count; }
|
|
}
|
|
public DateTime LastEventDateTime { get; set; }
|
|
public List<Identifier> AssociatedIdentifiers { get; set; }
|
|
|
|
public List<Group> Groups { get; set; }
|
|
public bool State { get; set; }
|
|
}
|
|
} |