204 lines
5.2 KiB
Java
204 lines
5.2 KiB
Java
package com.ruoyi.system.domain;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import com.ruoyi.common.annotation.Excel;
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
/**
|
|
* 玩家配置对象 dm_player_config
|
|
*
|
|
* @author luqj
|
|
* @date 2026-05-10
|
|
*/
|
|
@TableName(value = "dm_player_config")
|
|
public class DmPlayerConfigPlus implements Serializable
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** 主键 */
|
|
private Long id;
|
|
/** 玩家ID */
|
|
@Excel(name = "玩家ID")
|
|
private Long playerId;
|
|
/** 创建时间 */
|
|
private Date createTime;
|
|
/** 更新时间 */
|
|
private Date updateTime;
|
|
/** 喊话间隔 */
|
|
@Excel(name = "喊话间隔")
|
|
private Integer shoutInterval;
|
|
/** 喊话蓝量 */
|
|
@Excel(name = "喊话蓝量")
|
|
private Integer shoutMana;
|
|
/** 是否自动加蓝 */
|
|
@Excel(name = "是否自动加蓝")
|
|
private Integer autoAddMana;
|
|
/** 加蓝阈值 */
|
|
@Excel(name = "加蓝阈值")
|
|
private Integer addManaThreshold;
|
|
/** 识别高度 */
|
|
@Excel(name = "识别高度")
|
|
private Integer yoloHeight;
|
|
/** 识别宽度 */
|
|
@Excel(name = "识别宽度")
|
|
private Integer yoloWidth;
|
|
/** 自定义参数 */
|
|
@Excel(name = "自定义参数")
|
|
private String customParams;
|
|
/** 固定方位
|
|
* <el-option label="所有" :value="0" />
|
|
* <el-option label="斜四个方位" :value="9" />
|
|
* <el-option label="除了上" :value="10" />
|
|
* <el-option label="上" :value="1" />
|
|
* <el-option label="下" :value="2" />
|
|
* <el-option label="左" :value="3" />
|
|
* <el-option label="右" :value="4" />
|
|
* <el-option label="左上" :value="5" />
|
|
* <el-option label="右上" :value="6" />
|
|
* <el-option label="左下" :value="7" />
|
|
* <el-option label="右下" :value="8" />
|
|
* */
|
|
@Excel(name = "固定方位")
|
|
private Integer fixedDirection;
|
|
@Excel(name = "喊话编码 对应按键值表")
|
|
private Integer shoutKey;
|
|
|
|
public Integer getShoutKey() {
|
|
return shoutKey;
|
|
}
|
|
|
|
public void setShoutKey(Integer shoutKey) {
|
|
this.shoutKey = shoutKey;
|
|
}
|
|
|
|
public void setId(Long id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getId()
|
|
{
|
|
return id;
|
|
}
|
|
public void setPlayerId(Long playerId)
|
|
{
|
|
this.playerId = playerId;
|
|
}
|
|
|
|
public Long getPlayerId()
|
|
{
|
|
return playerId;
|
|
}
|
|
public void setCreateTime(Date createTime)
|
|
{
|
|
this.createTime = createTime;
|
|
}
|
|
|
|
public Date getCreateTime()
|
|
{
|
|
return createTime;
|
|
}
|
|
public void setUpdateTime(Date updateTime)
|
|
{
|
|
this.updateTime = updateTime;
|
|
}
|
|
|
|
public Date getUpdateTime()
|
|
{
|
|
return updateTime;
|
|
}
|
|
public void setShoutInterval(Integer shoutInterval)
|
|
{
|
|
this.shoutInterval = shoutInterval;
|
|
}
|
|
|
|
public Integer getShoutInterval()
|
|
{
|
|
return shoutInterval;
|
|
}
|
|
public void setShoutMana(Integer shoutMana)
|
|
{
|
|
this.shoutMana = shoutMana;
|
|
}
|
|
|
|
public Integer getShoutMana()
|
|
{
|
|
return shoutMana;
|
|
}
|
|
public void setAutoAddMana(Integer autoAddMana)
|
|
{
|
|
this.autoAddMana = autoAddMana;
|
|
}
|
|
|
|
public Integer getAutoAddMana()
|
|
{
|
|
return autoAddMana;
|
|
}
|
|
public void setAddManaThreshold(Integer addManaThreshold)
|
|
{
|
|
this.addManaThreshold = addManaThreshold;
|
|
}
|
|
|
|
public Integer getAddManaThreshold()
|
|
{
|
|
return addManaThreshold;
|
|
}
|
|
public void setYoloHeight(Integer yoloHeight)
|
|
{
|
|
this.yoloHeight = yoloHeight;
|
|
}
|
|
|
|
public Integer getYoloHeight()
|
|
{
|
|
return yoloHeight;
|
|
}
|
|
public void setYoloWidth(Integer yoloWidth)
|
|
{
|
|
this.yoloWidth = yoloWidth;
|
|
}
|
|
|
|
public Integer getYoloWidth()
|
|
{
|
|
return yoloWidth;
|
|
}
|
|
public void setCustomParams(String customParams)
|
|
{
|
|
this.customParams = customParams;
|
|
}
|
|
|
|
public String getCustomParams()
|
|
{
|
|
return customParams;
|
|
}
|
|
public void setFixedDirection(Integer fixedDirection)
|
|
{
|
|
this.fixedDirection = fixedDirection;
|
|
}
|
|
|
|
public Integer getFixedDirection()
|
|
{
|
|
return fixedDirection;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("playerId", getPlayerId())
|
|
.append("createTime", getCreateTime())
|
|
.append("updateTime", getUpdateTime())
|
|
.append("shoutInterval", getShoutInterval())
|
|
.append("shoutMana", getShoutMana())
|
|
.append("autoAddMana", getAutoAddMana())
|
|
.append("addManaThreshold", getAddManaThreshold())
|
|
.append("yoloHeight", getYoloHeight())
|
|
.append("yoloWidth", getYoloWidth())
|
|
.append("customParams", getCustomParams())
|
|
.append("fixedDirection", getFixedDirection())
|
|
.toString();
|
|
}
|
|
}
|