io.rocketbase.commons.dto.registration.RegistrationRequest Maven / Gradle / Ivy
package io.rocketbase.commons.dto.registration;
import lombok.*;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Map;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString(exclude = {"password"})
public class RegistrationRequest implements Serializable {
@NotNull
private String username;
private String firstName;
private String lastName;
@NotNull
@Email
private String email;
@NotNull
private String password;
private Map keyValues;
/**
* optional parameter to overwrite system default
*
* full qualified url to a custom UI that proceed the verification
* * ?verification=VALUE will get append
*/
private String verificationUrl;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy