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

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/8/15
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class UnblockAccountCmd extends Command {

  /**
   * 被处理用户.
   */
  @NotNull(message = "beOptUserId required.")
  private Long beOptUserId;

  /**
   * 操作用户.
   */
  @NotNull(message = "optUserId required.")
  private Long optUserId;

  /**
   * 封禁原因.
   */
  @NotBlank(message = "description required.")
  private String description;

}
