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.io.Serial;
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
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GameLuckyBoxGiftConfigDetailsCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 抽奖规格配置id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long standardId;

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

  /**
   * 名称.
   */
  private String name;


  /**
   * 礼物图片.
   */
  private String photoUrl;

  /**
   * 礼物价值/糖果.
   */
  private BigDecimal giftCandy;

  /**
   * 礼物id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long giftId;

  /**
   * 排序.
   */
  private Integer sort;

  /**
   * 是否赏金礼物.
   */
  private Boolean bountyGift;

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


}
