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

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

/**
 * 团队申请流程服务.
 *
 * @author pengshigang on 2022/12/19
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class TeamProcessChangeBackCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 流程id.
   */
  @NotNull
  private Long id;

  /**
   * 状态.
   */
  @NotNull
  private TeamApplicationProcessStatus status;

  /**
   * 修改人用户id.
   */
  private Long updateUserId;

  /**
   * 来源.
   */
  private Integer updateUserOrigin;

}
