package com.zcloud.basic.info.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * web-client
 *
 * @Author zhangyue
 * @Date 2025-11-04 14:07:38
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserUpdateFaceUrlCmd extends Command {

    @ApiModelProperty(value = "GBS用户id", name = "id", required = true)
    @NotNull(message = "GBS用户id不能为空")
    private Long id;

    @ApiModelProperty(value = "人脸头像url", name = "userAvatarUrl", required = true)
    @NotEmpty(message = "人脸头像url不能为空")
    private String userAvatarUrl;
}

