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.

100 lines
2.3 KiB

3 months ago
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;
/**
* 实体部署与航线对象 routes
*
* @author ruoyi
* @date 2026-01-14
*/
public class Routes extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 路由ID */
private Long id;
/** 归属方案ID */
@Excel(name = "归属方案ID")
private Long scenarioId;
/** 使用的是库里哪个平台 (关联 platform_lib.id) */
@Excel(name = "使用的是库里哪个平台 (关联 platform_lib.id)")
private Long platformId;
/** 名称 (如: 猎鹰01) */
@Excel(name = "名称 (如: 猎鹰01)")
private String callSign;
/** 实例属性JSON: 覆盖库里的默认值 (如当前初始油量, 挂载配置) */
@Excel(name = "实例属性JSON: 覆盖库里的默认值 (如当前初始油量, 挂载配置)")
private String attributes;
/** 航点数据JSON数组: [{seq, k_offset, lat, lng, alt, speed, action...}] */
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setScenarioId(Long scenarioId)
{
this.scenarioId = scenarioId;
}
public Long getScenarioId()
{
return scenarioId;
}
public void setPlatformId(Long platformId)
{
this.platformId = platformId;
}
public Long getPlatformId()
{
return platformId;
}
public void setCallSign(String callSign)
{
this.callSign = callSign;
}
public String getCallSign()
{
return callSign;
}
public void setAttributes(String attributes)
{
this.attributes = attributes;
}
public String getAttributes()
{
return attributes;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("scenarioId", getScenarioId())
.append("platformId", getPlatformId())
.append("callSign", getCallSign())
.append("attributes", getAttributes())
.toString();
}
}