提交roll日创建
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
package com.ruoyi.domain.entity.roll;
|
||||
|
||||
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.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 官方周期Roll房配置模板。
|
||||
* 每条配置指定奖池、周期(日/周)、充值门槛、人数、机器人数量等,
|
||||
* 由 OfficialRollTask 定时按周期自动创建 tt_roll 房间并自动加入机器人。
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Accessors(chain = true)
|
||||
@Builder
|
||||
@TableName(value = "tt_official_roll_config")
|
||||
public class TtOfficialRollConfig implements Serializable {
|
||||
|
||||
@TableField(exist = false)
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@Excel(name = "配置标识")
|
||||
private String configName;
|
||||
|
||||
@Excel(name = "奖池ID")
|
||||
private Integer jackpotId;
|
||||
|
||||
/** 周期类型: DAILY=每日, WEEKLY=每周 */
|
||||
@Excel(name = "周期类型")
|
||||
private String periodType;
|
||||
|
||||
@Excel(name = "房间名称")
|
||||
private String roomName;
|
||||
|
||||
@Excel(name = "房间描述")
|
||||
private String description;
|
||||
|
||||
private String rollPassword;
|
||||
|
||||
@Excel(name = "充值门槛")
|
||||
private BigDecimal minRecharge;
|
||||
|
||||
@Excel(name = "人数上限")
|
||||
private Integer peopleNum;
|
||||
|
||||
/** 每天(每周期)自动加入的机器人数量 */
|
||||
@Excel(name = "机器人数量")
|
||||
private Integer robotNum;
|
||||
|
||||
/** 每次自动创建房间生成的CDK数量,0则不启用CDK(使用普通密码) */
|
||||
@Excel(name = "CDK数量")
|
||||
private Integer cdkCount;
|
||||
|
||||
@Excel(name = "排序依据")
|
||||
private Integer sortBy;
|
||||
|
||||
/** 状态: 0=启用, 1=停用 */
|
||||
@Excel(name = "状态")
|
||||
private String status;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
|
||||
private Date lastGenerateTime;
|
||||
|
||||
private String createBy;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
|
||||
private Date createTime;
|
||||
|
||||
private String updateBy;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
|
||||
private Date updateTime;
|
||||
|
||||
@TableField(select = false)
|
||||
private String delFlag;
|
||||
}
|
||||
@@ -82,4 +82,7 @@ public class TtRoll implements Serializable {
|
||||
@TableField(select = false)
|
||||
private String delFlag;
|
||||
|
||||
// 官方周期Roll配置ID(tt_official_roll_config.id),标记该房由哪条配置生成,手动创建的房间为NULL
|
||||
private Integer officialConfigId;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user