54 lines
894 B
Java
54 lines
894 B
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("pending_task")
|
|
public class PendingTask {
|
|
|
|
@TableId(type = IdType.AUTO)
|
|
private Long id;
|
|
|
|
/**
|
|
* 任务ID
|
|
*/
|
|
private String taskId;
|
|
|
|
/**
|
|
* 任务类型: start_rp/settle/auto_next/bot_send_rp
|
|
*/
|
|
private String type;
|
|
|
|
/**
|
|
* 局ID
|
|
*/
|
|
private Long roundId;
|
|
|
|
/**
|
|
* 群ID
|
|
*/
|
|
private Long groupId;
|
|
|
|
/**
|
|
* 开奖尾数(settle任务用)
|
|
*/
|
|
private Integer digit;
|
|
|
|
/**
|
|
* 执行时间
|
|
*/
|
|
private LocalDateTime executeTime;
|
|
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
private LocalDateTime createTime;
|
|
}
|