add new RoleType and validationPoint to AdminUser
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user