84 lines
1.4 KiB
Java
84 lines
1.4 KiB
Java
package com.tailbet.model.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
|
|
/**
|
|
* 游戏局表
|
|
*/
|
|
@Data
|
|
@TableName("game_round")
|
|
public class GameRound {
|
|
|
|
@TableId(type = IdType.AUTO)
|
|
private Long id;
|
|
|
|
/**
|
|
* 群ID
|
|
*/
|
|
private Long groupId;
|
|
|
|
/**
|
|
* 期号:yyyy-MM-dd-xx
|
|
*/
|
|
private String roundNo;
|
|
|
|
/**
|
|
* 状态:0开始下注 1结束下注 2开始发红包 3已结束
|
|
*/
|
|
private Integer status;
|
|
|
|
/**
|
|
* 开始时间
|
|
*/
|
|
private LocalDateTime startTime;
|
|
|
|
/**
|
|
* 截止下注时间
|
|
*/
|
|
private LocalDateTime endBetTime;
|
|
|
|
/**
|
|
* 开始发红包时间
|
|
*/
|
|
private LocalDateTime startRpTime;
|
|
|
|
/**
|
|
* 结束时间
|
|
*/
|
|
private LocalDateTime finishTime;
|
|
|
|
/**
|
|
* 目标尾数:0-9 null表示待定
|
|
*/
|
|
private Integer targetDigit;
|
|
|
|
/**
|
|
* 尾数策略:specified指定/manual_auto小赢小输/random随机
|
|
*/
|
|
private String digitStrategy;
|
|
|
|
/**
|
|
* 自动开启下一期:0否 1是
|
|
*/
|
|
private Integer autoNext;
|
|
|
|
/**
|
|
* 第一个红包ID
|
|
*/
|
|
private Long firstRpId;
|
|
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
private LocalDateTime createTime;
|
|
|
|
/**
|
|
* 更新时间
|
|
*/
|
|
private LocalDateTime updateTime;
|
|
}
|