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

io.github.wslxm.springbootplus2.manage.sys.model.dto.SysUserDTO Maven / Gradle / Ivy

The newest version!
package io.github.wslxm.springbootplus2.manage.sys.model.dto;


import io.github.wslxm.springbootplus2.core.base.model.Convert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 *   用户
 *
 * @author 王松
 * @WX-QQ 1720696548
 * @date 2019/11/14 21:06
 */
@Data
@ToString(callSuper = true)
@ApiModel(value = "SysUserDTO", description = "用户表")
public class SysUserDTO extends Convert {

    private static final long serialVersionUID = 4934650100711613453L;

    @ApiModelProperty(value = "头像")
    private String headPic;
    @ApiModelProperty(value = "账号/用户名")
    private String username;
    @ApiModelProperty(value = "手机号/第二账号")
    private String phone;
    @ApiModelProperty(value = "昵称")
    private String fullName;
    @ApiModelProperty(value = "密码(编辑无法进行修改)")
    private String password;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "年龄")
    private Integer age;
    @ApiModelProperty(value = "性别(1-男,0-女)")
    private Integer gender;
    @ApiModelProperty(value = "禁用(0-否,1-是)")
    private Integer disable;
    @ApiModelProperty(value = "职位(字典code)")
    private Integer position;
    @ApiModelProperty(value = "备注")
    private String remarks;
    @ApiModelProperty(value = "角色Id, 必须存在一条数据才能触发重分配,没有数据时数据无变化")
    private List roleIds;
    @ApiModelProperty(value = "公司/部门 ids")
    private String depIds;
    @ApiModelProperty(value = "扩展字段 1")
    private String ext1;
    @ApiModelProperty(value = "扩展字段 2")
    private String ext2;
    @ApiModelProperty(value = "扩展字段 3")
    private String ext3;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy