add new RoleType and validationPoint to AdminUser

This commit is contained in:
Kham
2021-09-06 16:43:20 +10:00
parent 28f627a36e
commit cd38e7a644
9 changed files with 86 additions and 36 deletions
@@ -9,6 +9,7 @@ namespace CarParkValidationAPI.Models.Users
public string LastName { get; set; }
public string Username { get; set; }
public AdminRole Role { get; set; }
public int ValidationPointId { get; set; }
public string Token { get; set; }
public string Email { get; set; }
public AuthenticateResponse(User user, string token)
@@ -20,6 +21,7 @@ namespace CarParkValidationAPI.Models.Users
Email = user.Email;
Role = user.Role;
Token = token;
ValidationPointId = user.ValidationPointId;
}
}
}