package com.wecloud.im.biz.externalaccess.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

/**
 * @Author wenzhida
 * @Date 2022/2/23 15:20
 * @Description 修改头像入参
 */
@Data
public class ModifyHeadPortraitParam implements Serializable {

    private static final long serialVersionUID = -5394800929946659395L;

    /**
     * userId
     */
    @NotNull(message = "userId不可为空")
    @ApiModelProperty("userId")
    private Long userId;

    /**
     * 头像url
     */
    @NotNull(message = "头像url不能为空")
    @ApiModelProperty("头像url")
    private String headPortrait;

}
