check in all the work is good to go now.

This commit is contained in:
Kham
2021-08-25 15:42:06 +10:00
parent 4792acea76
commit 1155deaf1a
14 changed files with 140 additions and 28 deletions
@@ -42,6 +42,9 @@ namespace CarParkValidationAPI.Models
public int ValidationPointID { get; set; }
public bool Active { get; set; }
public string StaffFirstName { get; set; }
public string StaffLastName { get; set; }
public string StaffEmail { get; set; }
#endregion
}
}
@@ -10,13 +10,14 @@ namespace CarParkValidationAPI.Models.Users
public string Username { get; set; }
public AdminRole Role { get; set; }
public string Token { get; set; }
public string Email { get; set; }
public AuthenticateResponse(User user, string token)
{
Id = user.Id;
FirstName = user.FirstName;
LastName = user.LastName;
Username = user.Username;
Email = user.Email;
Role = user.Role;
Token = token;
}