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

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

/**
 * 团队成员归属变更.
 *
 * @author pengliang on 2022/12/12
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class MemberTeamChangeCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 团队用户id.
   */
  private Long ownUserId;

  /**
   * 系统.
   */
  @NotBlank
  private String sysOrigin;

  /**
   * 团队account.
   */
  private String teamAccount;

  /**
   * 成员ID.
   */
  @NotNull
  private Long memberUserId;

  /**
   * 备注.
   */
  private String remarks;

  /**
   * 修改用户.
   */
  private Long updateUser;
}
