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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 赏金任务配置详情.
 * </p>
 *
 * @author zongpubin on 2023-08-18 17:43
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class GameLuckyBoxBountyDetailsConfigCO extends ClientObject {

  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 赏金任务id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long bountyId;

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

  /**
   * 道具类型.
   */
  private String propsType;

  /**
   * 道具id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long propsId;

  /**
   * 封面图.
   */
  private String cover;

  /**
   * 资源链接.
   */
  private String sourceUrl;


  /**
   * 道具金额.
   */
  private BigDecimal amount;

  /**
   * 目标数量.
   */
  private Integer targetQuantity;

  /**
   * 有效天数.
   */
  private String validDays;


  /**
   * 已完成目标数量.
   */
  private Integer completedCount;

  /**
   * 是否已经领取.
   */
  private Boolean received;

  /**
   * 创建时间.
   */
  private Timestamp createTime;


}
