package com.red.circle.mq.business.model.event.team;

import java.io.Serial;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Map;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 团队工资追回.
 *
 * @author pengshigang on 2023/4/17
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class TeamSalaryRevokeEvent implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主播数据(key 用户id， val 退款涉及目标数量)
   */
  private Map<Long, Long> anchorMap;

  /**
   * 订单支付时间.
   */
  private Timestamp purchaseDate;

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

  /**
   * 退款用户ID.
   */
  private Long refundUserId;

  /**
   * 时间.
   */
  private Timestamp timestamp;

}
