All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.rocketbase.commons.dto.appuser.AppUserCreate Maven / Gradle / Ivy

There is a newer version: 4.4.1
Show newest version
package io.rocketbase.commons.dto.appuser;

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 AppUserCreate implements Serializable {

    @NotNull
    private String username;

    @NotNull
    private String password;

    private String firstName;

    private String lastName;

    @NotNull
    @Email
    private String email;

    private String avatar;

    @Singular
    private Map keyValues;

    @NotNull
    private Boolean admin;

    @NotNull
    private Boolean enabled;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy