package com.yunyan.common.core.domain.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.yunyan.common.annotation.Excel;
import com.yunyan.common.annotation.Excel.ColumnType;
import com.yunyan.common.annotation.Excel.Type;
import com.yunyan.common.annotation.Excels;
import com.yunyan.common.core.domain.BaseEntity;
import com.yunyan.common.core.domain.entity.SysDept;
import com.yunyan.common.core.domain.entity.SysRole;
import com.yunyan.common.xss.Xss;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;
import java.util.List;

/**
 * 用户对象 sys_user
 *
 * @author yunyan
 */
@Data
public class SysUserUpdateDto
{
    private static final long serialVersionUID = 1L;

    /** 用户昵称 */
    @Excel(name = "用户名称")
    @ApiModelProperty("用户昵称")
    private String nickName;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
    @ApiModelProperty("用户邮箱")
    private String email;

    /** 手机号码 */
    @Excel(name = "手机号码")
    @ApiModelProperty("手机号码")
    private String phonenumber;

    /** 用户性别 */
    @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
    @ApiModelProperty("用户性别 0=男,1=女,2=未知")
    private String sex;

    /** 用户头像 */
    @ApiModelProperty("用户头像")
    private String avatar;


}
