package com.ningdatech.pmapi.user.model.po;

import com.ningdatech.pmapi.user.model.vo.UserRoleVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author liuxinxin
 * @date 2023/2/15 上午8:43
 */
@Data
@ApiModel("用户详情编辑请求")
public class ReqUserDetailEditPO {

    @ApiModelProperty("userId")
    private Long userId;

    @NotBlank(message = "浙政钉 用户编码 不能为空")
    @ApiModelProperty("浙政钉 用户编码")
    private String employeeCode;

    @NotBlank(message = "用户手机号不能为空")
    @ApiModelProperty("手机号")
    private String phoneNo;

    @NotBlank(message = "状态不能为空")
    @ApiModelProperty("状态 启用 ENABLE/禁用 DISABLE")
    private String status;

    @ApiModelProperty("用户角色信息列表")
    private List<UserRoleVO> userRoleInfoList;
}
