Class ChangeUserRequest

java.lang.Object
com.dzidzi.dto.user.ChangeUserRequest

public class ChangeUserRequest extends Object
ChangeUserRequest represents the DTO request containing the objects used to update an existing user.
  • Constructor Details

    • ChangeUserRequest

      public ChangeUserRequest()
    • ChangeUserRequest

      @ConstructorProperties({"contact","address","newPassword","password","username"}) public ChangeUserRequest(String contact, ChangeAddressRequest address, String newPassword, String password, String username)
      Creates a new ChangeUserRequest instance.
      Parameters:
      contact - The new contact of the user
      address - The new address of the user. ChangeAddressRequest
      newPassword - The new password to set.
      password - The existing password.
      username - The new username to set.
  • Method Details