Class HvlOAuthUserChangePasswordWithVerificationModel

java.lang.Object
tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
tr.com.havelsan.javarch.dto.model.HvlModel
tr.com.havelsan.javarch.oauth.jpa.data.common.module.user.model.HvlOAuthAbstractChangePasswordModel
tr.com.havelsan.javarch.oauth.jpa.data.common.module.user.model.HvlOAuthUserChangePasswordWithVerificationModel
All Implemented Interfaces:
Serializable, Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>, tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>

public class HvlOAuthUserChangePasswordWithVerificationModel extends HvlOAuthAbstractChangePasswordModel
A data transfer object is used for change user password
See Also:
  • Constructor Details

    • HvlOAuthUserChangePasswordWithVerificationModel

      public HvlOAuthUserChangePasswordWithVerificationModel()
      Instantiates a new HvlOAuthUserChangePasswordModel.
    • HvlOAuthUserChangePasswordWithVerificationModel

      public HvlOAuthUserChangePasswordWithVerificationModel(@Size(max=100) @NotNull @Size(max=100) @NotNull String email, @Size(max=100) @NotNull @Size(max=100) @NotNull String newPassword)
      Instantiates a new HvlOAuthUserChangePasswordModel.
      Parameters:
      email - the email
      newPassword - the new password
  • Method Details

    • getEmail

      public String getEmail()
      Gets email.
      Returns:
      the email
    • setEmail

      public void setEmail(String email)
      Sets email.
      Parameters:
      email - the email
    • getNewPassword

      public String getNewPassword()
      Gets new password.
      Returns:
      the new password
    • setNewPassword

      public void setNewPassword(String newPassword)
      Sets new password.
      Parameters:
      newPassword - the new password
    • getCode

      public String getCode()
      Gets code.
      Returns:
      the code
    • setCode

      public void setCode(String code)
      Sets code.
      Parameters:
      code - the code
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>