#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:
parent
f4fd28cdbf
commit
7596eb7d3f
@ -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; }
|
||||
|
||||
@ -236,7 +236,8 @@ namespace SQLiteRepository
|
||||
UserId = user.Id,
|
||||
FirstName = user.FirstName,
|
||||
LastName = user.LastName,
|
||||
HoursPerWeek = user.HoursPerWeek
|
||||
HoursPerWeek = user.HoursPerWeek,
|
||||
IsContractor = user.IsContractor
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@ -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; }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user