#4 Added IsContractor flag to the UserIdentity and User Object, the Api will now relate that status to the output object. note, notimplemented in the UI yet to control this flag.

This commit is contained in:
Chris.Watts90@outlook.com 2017-02-03 12:39:38 +00:00
parent f4fd28cdbf
commit 7596eb7d3f
3 changed files with 4 additions and 2 deletions

View File

@ -14,7 +14,7 @@ namespace Interfaces
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; }

View File

@ -236,7 +236,8 @@ namespace SQLiteRepository
UserId = user.Id,
FirstName = user.FirstName,
LastName = user.LastName,
HoursPerWeek = user.HoursPerWeek
HoursPerWeek = user.HoursPerWeek,
IsContractor = user.IsContractor
};
}
}

View File

@ -9,5 +9,6 @@ namespace SQLiteRepository
public string FirstName { get; set; }
public string LastName { get; set; }
public float HoursPerWeek { get; set; }
public bool IsContractor { get; set; }
}
}