package com.ytpm.middle.param;

import com.ytpm.middle.view.MiddleRoleVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("ADS用户表单")
public class MiddleUserParam extends MiddleUserListParam{
    @ApiModelProperty(value = "用户ID",required = false)
    private String userId;
    @ApiModelProperty(value = "用户昵称",required = true)
    private String nickName;
    @ApiModelProperty(value = "头像",required = false)
    private String headImage;
    @ApiModelProperty(value = "登录用户名",required = true)
    private String loginName;
    @ApiModelProperty(value = "手机号",required = true)
    private String phone;
    @ApiModelProperty(value = "最新登录时间")
    private Date lastLoginTime;
    @ApiModelProperty(value = "最新登录IP")
    private String lastLoginIp;
    @ApiModelProperty(value = "账户状态", hidden = true)
    private Integer accountStatus;
    @ApiModelProperty(value = "所属部门ID",required = true)
    private Integer deptId;
    @ApiModelProperty(value = "密码",required = true)
    private String password;
    @ApiModelProperty(value = "角色列表",required = false)
    private List<Integer> roleList;
    @ApiModelProperty(value = "操作人ID",hidden = true)
    private String operatorId;
}
