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 java.util.Date;
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_round_record")
public class GameFruitRoundRecord 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("round")
  private Integer round;

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

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

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

  /**
   * 结束时间.
   */
  @TableField("end_time")
  private Date endTime;


}
