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

import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 变更团队团长.
 *
 * @author pengshigang on 2023/6/7
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class TeamChangeOwnerCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 团队ID.
   */
  @NotNull
  private Long teamId;

  /**
   * 新团长ID.
   */
  @NotNull
  private Long ownUserId;

  /**
   * 修改用户.
   */
  private Long backUpdateUserId;

}
