package com.red.circle.other.infra.database.rds.entity.game;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * lucky box 中奖礼物明细.
 * </p>
 *
 * @author pengshigang
 * @since 2021-07-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("game_lucky_box_winning_details")
public class GameLuckyBoxWinningDetails implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @TableId("id")
  private Long id;

  /**
   * lucky box 抽奖记录ID.
   */
  @TableField("lottery_id")
  private Long lotteryId;

  /**
   * 礼物id.
   */
  @TableField("gift_id")
  private Long giftId;

  /**
   * 礼物数量.
   */
  @TableField("gift_quantity")
  private Integer giftQuantity;

  /**
   * 礼物单价.
   */
  @TableField("gift_candy")
  private BigDecimal giftCandy;

  /**
   * 礼物名称.
   */
  @TableField("gift_name")
  private String giftName;

  /**
   * 礼物图片.
   */
  @TableField("gift_photo")
  private String giftPhoto;

  /**
   * 创建时间.
   */
  @TableField("create_time")
  private LocalDateTime createTime;

  /**
   * 修改时间.
   */
  @TableField("update_time")
  private LocalDateTime updateTime;

  /**
   * 创建用户.
   */
  @TableField("create_user")
  private Long createUser;

  /**
   * 修改用户.
   */
  @TableField("update_user")
  private Long updateUser;


}
