com.didiglobal.logi.security.common.dto.user.UserDTO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logi-security-spring-boot-starter Show documentation
Show all versions of logi-security-spring-boot-starter Show documentation
logi-security 提供项目大多都需要的一些基础功能(用户、角色、权限、登录、注册、操作记录)
package com.didiglobal.logi.security.common.dto.user;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.List;
@EqualsAndHashCode(callSuper = false)
@Data
@ApiModel(description = "用户信息")
public class UserDTO {
@ApiModelProperty(value = "用户账号", dataType = "Integer", required = true)
private String userName;
@ApiModelProperty(value = "用户密码", dataType = "Integer", required = false)
private String pw;
@ApiModelProperty(value = "用户真实姓名", dataType = "Integer", required = false)
private String realName;
@ApiModelProperty(value = "电话", dataType = "String", required = false)
private String phone;
@ApiModelProperty(value = "邮箱", dataType = "String", required = false)
private String email;
@ApiModelProperty(value = "用户角色id", dataType = "Integer", required = false)
private List roleIds;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy