a-tuoheng-airline/src/main/java/com/ruoyi/airline/service/dto/AirlineFileDTO.java

134 lines
2.8 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 +
'}';
}
}