134 lines
2.8 KiB
Java
134 lines
2.8 KiB
Java
package com.ruoyi.airline.service.dto;
|
||
|
||
import com.ruoyi.airline.api.domain.AirLinePointVO;
|
||
import com.ruoyi.common.core.web.domain.BaseEntity;
|
||
import lombok.Data;
|
||
|
||
import java.util.List;
|
||
|
||
/**
|
||
* 航线文件DTO
|
||
* Service 层数据传输对象,用于Controller和Service之间的数据传递
|
||
*
|
||
* @author ruoyi
|
||
* @date 2026-01-17
|
||
*/
|
||
@Data
|
||
public class AirlineFileDTO extends BaseEntity {
|
||
|
||
/**
|
||
* 主键ID
|
||
*/
|
||
private Long id;
|
||
/**
|
||
* 航线名称
|
||
*/
|
||
private String name;
|
||
/**
|
||
* 文件名称
|
||
*/
|
||
private String fileName;
|
||
/**
|
||
* 飞行器厂商
|
||
*/
|
||
private String airVendor;
|
||
|
||
/**
|
||
* 飞行器类型
|
||
*/
|
||
private String airType;
|
||
|
||
/**
|
||
* 文件地址
|
||
*/
|
||
private String fileUrl;
|
||
|
||
/**
|
||
* 航线类型:1,航点航线;2,指点航线;3,指面航线
|
||
*/
|
||
private Integer type;
|
||
|
||
/**
|
||
* 文件备注
|
||
*/
|
||
private String note;
|
||
|
||
/**
|
||
* 航线距离
|
||
*/
|
||
private Double distance;
|
||
|
||
/**
|
||
* 航线点列表
|
||
*/
|
||
private List<AirLinePointDTO> linePointDtoList;
|
||
|
||
/**
|
||
* 关联机场id
|
||
*/
|
||
private Integer airportId;
|
||
|
||
/**
|
||
* 数据来源
|
||
*/
|
||
private String source;
|
||
|
||
/**
|
||
* 1 启用 0 停用
|
||
*/
|
||
private Integer status;
|
||
|
||
/**
|
||
* 航线文件对应的 MD5指纹
|
||
*/
|
||
private String fileMd5;
|
||
|
||
/**
|
||
* 大疆航线对应的oss地址(可能存kmz也可能存waypoint,要看fileUrl存的是啥,这个字段存反的)
|
||
*/
|
||
private String djiFileUrl;
|
||
|
||
/**
|
||
* kmz航线的全局高度
|
||
*/
|
||
private Integer djiRthAltitude;
|
||
|
||
/**
|
||
* 航线转弯类型 1-直线,2-协调转弯
|
||
*/
|
||
private Integer turnRadius;
|
||
|
||
/**
|
||
* 是否需要自动拍照
|
||
*/
|
||
private Integer autoTakePhoto;
|
||
|
||
/**
|
||
* 自动拍照间隔时间(秒)
|
||
*/
|
||
private Integer autoTakePhotoInterval;
|
||
|
||
|
||
@Override
|
||
public String toString() {
|
||
return "AirlineFileDTO{" +
|
||
"id=" + id +
|
||
", fileName='" + fileName + '\'' +
|
||
", fileUrl='" + fileUrl + '\'' +
|
||
", type=" + type +
|
||
", note='" + note + '\'' +
|
||
", distance=" + distance +
|
||
", linePointDtoList=" + linePointDtoList +
|
||
", airportId=" + airportId +
|
||
", source='" + source + '\'' +
|
||
", status=" + status +
|
||
", fileMd5='" + fileMd5 + '\'' +
|
||
", djiFileUrl='" + djiFileUrl + '\'' +
|
||
", djiRthAltitude=" + djiRthAltitude +
|
||
", turnRadius=" + turnRadius +
|
||
", autoTakePhoto=" + autoTakePhoto +
|
||
", autoTakePhotoInterval=" + autoTakePhotoInterval +
|
||
'}';
|
||
}
|
||
|
||
} |