package com.red.circle.other.infra.database.cache.entity.game.luckgift;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serial;
import java.io.Serializable;
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
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GameLuckyBoxAwardDetailsConfigCache implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 抽奖奖励配置id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long awardId;

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

  /**
   * 抽奖次数.
   */
  private Integer lotteryNumber;

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

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

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

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

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

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


}
