package com.wecloud.im.user.param;

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

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @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;

}
