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


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.common.business.core.enums.ApprovalStatusEnum;
import com.red.circle.common.business.core.enums.DataApprovalTypeEnum;
import com.red.circle.common.business.core.enums.OpUserType;
import com.red.circle.mq.business.model.event.approval.ApprovalContent;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.Set;
import java.util.stream.Collectors;


/**
 * @author 任务审核
 */
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class TaskApprovalEvent implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 任务人.
   */
  private Long userId;
  /**
   * 任务id.
   */
  private Integer taskId;

  /**
   * 任务时间.
   */
  private String  day;

  /**
   * 数量
   */
  private Integer quantity;

  private String  imei;
  private String  ip;

  /**
   * 游戏流水的金币数量,包含正负符号,没有×100
   */
  private Long currencyDiff;

  private String sysOrigin;

  /**
   * 游戏名称
   */
  private String gameName;

  /**
   * 游戏编号
   */
  private Long gameId;

  /**
   * 目标值
   */
  private Integer targetValue;

  /**
   * 完成数量
   */
  private Integer completeValue;

}
