a-tuoheng-task/src/main/java/com/ruoyi/task/service/dto/TaskPlanQueryDTO.java

211 lines
4.6 KiB
Java
Raw Normal View History

2026-03-05 17:14:10 +08:00
package com.ruoyi.task.service.dto;
import java.util.Date;
/**
* 任务计划查询条件数据传输对象
*
* @author ruoyi
* @date 2026-03-05
*/
public class TaskPlanQueryDTO {
/** 计划ID */
private Long id;
/** 计划名称 */
private String planName;
/** 计划类型(定时任务计划、周期任务计划) */
private String planType;
/** 执行类型(单次执行、连续执行) */
private String executeType;
/** 周期类型(日周期、周周期、月周期) */
private String cycleType;
/** 开始日期(开始范围) */
private Date startDateStart;
/** 开始日期(结束范围) */
private Date startDateEnd;
/** 结束日期(开始范围) */
private Date endDateStart;
/** 结束日期(结束范围) */
private Date endDateEnd;
/** 航线ID */
private Long routeId;
/** 无人机ID */
private Long uavId;
/** 状态0待执行 1执行中 2已完成 3已取消 */
private String status;
/** 任务类别 */
private String taskCategory;
/** 任务类型 */
private String taskType;
/** 机场代码 */
private String airportCode;
/** 航线名称 */
private String routeName;
// Getters and Setters
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getPlanName() {
return planName;
}
public void setPlanName(String planName) {
this.planName = planName;
}
public String getPlanType() {
return planType;
}
public void setPlanType(String planType) {
this.planType = planType;
}
public String getExecuteType() {
return executeType;
}
public void setExecuteType(String executeType) {
this.executeType = executeType;
}
public String getCycleType() {
return cycleType;
}
public void setCycleType(String cycleType) {
this.cycleType = cycleType;
}
public Date getStartDateStart() {
return startDateStart;
}
public void setStartDateStart(Date startDateStart) {
this.startDateStart = startDateStart;
}
public Date getStartDateEnd() {
return startDateEnd;
}
public void setStartDateEnd(Date startDateEnd) {
this.startDateEnd = startDateEnd;
}
public Date getEndDateStart() {
return endDateStart;
}
public void setEndDateStart(Date endDateStart) {
this.endDateStart = endDateStart;
}
public Date getEndDateEnd() {
return endDateEnd;
}
public void setEndDateEnd(Date endDateEnd) {
this.endDateEnd = endDateEnd;
}
public Long getRouteId() {
return routeId;
}
public void setRouteId(Long routeId) {
this.routeId = routeId;
}
public Long getUavId() {
return uavId;
}
public void setUavId(Long uavId) {
this.uavId = uavId;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getTaskCategory() {
return taskCategory;
}
public void setTaskCategory(String taskCategory) {
this.taskCategory = taskCategory;
}
public String getTaskType() {
return taskType;
}
public void setTaskType(String taskType) {
this.taskType = taskType;
}
public String getAirportCode() {
return airportCode;
}
public void setAirportCode(String airportCode) {
this.airportCode = airportCode;
}
public String getRouteName() {
return routeName;
}
public void setRouteName(String routeName) {
this.routeName = routeName;
}
@Override
public String toString() {
return "TaskPlanQueryDTO{" +
"id=" + id +
", planName='" + planName + '\'' +
", planType='" + planType + '\'' +
", executeType='" + executeType + '\'' +
", cycleType='" + cycleType + '\'' +
", startDateStart=" + startDateStart +
", startDateEnd=" + startDateEnd +
", endDateStart=" + endDateStart +
", endDateEnd=" + endDateEnd +
", routeId=" + routeId +
", uavId=" + uavId +
", status='" + status + '\'' +
", taskCategory='" + taskCategory + '\'' +
", taskType='" + taskType + '\'' +
", airportCode='" + airportCode + '\'' +
", routeName='" + routeName + '\'' +
'}';
}
}