You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
125 lines
2.8 KiB
125 lines
2.8 KiB
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;
|
|
|
|
/**
|
|
* 任务方案/沙箱对象 mission_scenario
|
|
*
|
|
* @author ruoyi
|
|
* @date 2026-01-14
|
|
*/
|
|
public class MissionScenario extends BaseEntity
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** 方案ID */
|
|
private Long id;
|
|
|
|
/** 所属小房间ID */
|
|
@Excel(name = "所属小房间ID")
|
|
private Long roomId;
|
|
|
|
/** 方案名称 (如: A方案-激进) */
|
|
@Excel(name = "方案名称 (如: A方案-激进)")
|
|
private String name;
|
|
|
|
/** 版本号/提交说明 */
|
|
@Excel(name = "版本号/提交说明")
|
|
private String version;
|
|
|
|
/** 纯前端图形JSON: 存放所有辅助线、空域、文字标注等不需要后端计算的数据 */
|
|
@Excel(name = "纯前端图形JSON: 存放所有辅助线、空域、文字标注等不需要后端计算的数据")
|
|
private String frontendDrawings;
|
|
|
|
/** 是否为当前默认展示方案 */
|
|
@Excel(name = "是否为当前默认展示方案")
|
|
private Integer isActive;
|
|
|
|
/** 大房间ID(查询用,非持久化):传入时查询 room_id IN (该大房间下所有子房间ID) */
|
|
private Long parentRoomId;
|
|
|
|
public void setId(Long id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getId()
|
|
{
|
|
return id;
|
|
}
|
|
|
|
public void setRoomId(Long roomId)
|
|
{
|
|
this.roomId = roomId;
|
|
}
|
|
|
|
public Long getRoomId()
|
|
{
|
|
return roomId;
|
|
}
|
|
|
|
public void setName(String name)
|
|
{
|
|
this.name = name;
|
|
}
|
|
|
|
public String getName()
|
|
{
|
|
return name;
|
|
}
|
|
|
|
public void setVersion(String version)
|
|
{
|
|
this.version = version;
|
|
}
|
|
|
|
public String getVersion()
|
|
{
|
|
return version;
|
|
}
|
|
|
|
public void setFrontendDrawings(String frontendDrawings)
|
|
{
|
|
this.frontendDrawings = frontendDrawings;
|
|
}
|
|
|
|
public String getFrontendDrawings()
|
|
{
|
|
return frontendDrawings;
|
|
}
|
|
|
|
public void setIsActive(Integer isActive)
|
|
{
|
|
this.isActive = isActive;
|
|
}
|
|
|
|
public Integer getIsActive()
|
|
{
|
|
return isActive;
|
|
}
|
|
|
|
public Long getParentRoomId()
|
|
{
|
|
return parentRoomId;
|
|
}
|
|
|
|
public void setParentRoomId(Long parentRoomId)
|
|
{
|
|
this.parentRoomId = parentRoomId;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("roomId", getRoomId())
|
|
.append("name", getName())
|
|
.append("version", getVersion())
|
|
.append("frontendDrawings", getFrontendDrawings())
|
|
.append("isActive", getIsActive())
|
|
.toString();
|
|
}
|
|
}
|
|
|