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

import com.red.circle.framework.core.dto.CommonCommand;
import com.red.circle.other.inner.model.dto.agency.agency.TeamCountry;
import com.red.circle.other.inner.model.dto.agency.agency.TeamSetting;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 创建团队参数.
 *
 * @author pengliang on 2022/12/7
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TeamUpdateCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 团队id.
   */
  @NotNull
  private Long id;

  /**
   * 区域.
   */
  private String region;

  /**
   * 昵称.
   */
  private String nickname;

  /**
   * 头像.
   */
  private String avatar;

  /**
   * 团队设置.
   */
  private TeamSetting setting;

  /**
   * 国家.
   */
  private TeamCountry country;

  /**
   * 创建用户.
   */
  private Long updateUser;

  /**
   * 允许提现开关.
   */
  private Boolean withdrawalEnabled;

}
