package com.red.circle.game.fruit.infrastructure.database.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.red.circle.framework.mybatis.entity.BaseEntity;
import java.io.Serial;
import java.math.BigDecimal;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 每日游戏记录.
 * </p>
 *
 * @author lisizhe on 2023-11-30 19:18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("game_fruit_days_record")
public class GameFruitDaysRecord extends BaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private Long id;

  /**
   * 系统来源.
   */
  @TableField("sys_origin")
  private String sysOrigin;

  /**
   * 总下注金额.
   */
  @TableField("user_expend")
  private BigDecimal userExpend;

  /**
   * 平台总支出.
   */
  @TableField("platform_expend")
  private BigDecimal platformExpend;

  /**
   * 参与人数.
   */
  @TableField("player_num")
  private Integer playerNum;

  /**
   * 新增人数.
   */
  @TableField("new_num")
  private Integer newNum;

  /**
   * 开出披萨次数.
   */
  @TableField("pizza_num")
  private Integer pizzaNum;


  /**
   * 开出蔬菜次数.
   */
  @TableField("vegetable_num")
  private Integer vegetableNum;

  /**
   * 年月日.
   */
  @TableField("date")
  private String date;


}
