package com.red.circle.other.app.dto.clientobject.activity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import com.red.circle.other.app.dto.clientobject.sys.ActivityPropsGroupCO;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 活动资源.
 *
 * @author pengliang on 2021/6/21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GameWeeklyTaskCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 规则ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long ruleId;

  /**
   * 目标.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long target;

  /**
   * 进度.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long progress;

  /**
   * 游戏封面.
   */
  private String gameCover;

  /**
   * 游戏code.
   */
  private String gameName;

  /**
   * 游戏code.
   */
  private String gameCode;

  /**
   * 奖品.
   */
  private ActivityPropsGroupCO reward;

  /**
   * 任务状态.
   */
  private String status;

}
