package com.red.circle.other.inner.model.cmd.user;

import com.red.circle.framework.dto.Command;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author pengliang on 2023/10/17
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class UpdateUserNicknameBatchCmd extends Command {

  /**
   * 用户id.
   */
  @NotNull(message = "userId required.")
  private Long userId;

  /**
   * 头像.
   */
  @NotBlank(message = "nickname required.")
  private String nickname;

}
