a-tuoheng-task/src/main/java/com/ruoyi/task/mapper/entity/TaskInfoEntity.java

213 lines
4.4 KiB
Java
Raw Normal View History

2026-03-05 16:14:52 +08:00
package com.ruoyi.task.mapper.entity;
import com.ruoyi.common.core.web.domain.BaseEntity;
import java.util.Date;
/**
* 任务信息表实体对象 task_info
* Mapper 层实体对应数据库表
*
* @author ruoyi
* @date 2026-03-05
*/
public class TaskInfoEntity extends BaseEntity {
private static final long serialVersionUID = 1L;
/** 任务主键 */
private Long id;
/** 任务名称 */
private String taskName;
/** 任务类别 */
private String taskCategory;
/** 任务类型 */
private String taskType;
/** 计划ID */
private Long planId;
/** 航线ID */
private Long routeId;
/** 无人机ID */
2026-03-09 09:51:54 +08:00
private String uavId;
2026-03-05 16:14:52 +08:00
/** 执行类型 */
private String executeType;
/** 状态 */
private String status;
2026-03-14 10:41:13 +08:00
/** 错误是否恢复 */
private Boolean recovery;
2026-03-05 16:14:52 +08:00
/** 开始时间 */
private Date startTime;
/** 结束时间 */
private Date endTime;
2026-03-06 13:46:59 +08:00
/** 实际开始时间 */
private Date actualStartTime;
/** 实际结束时间 */
private Date actualEndTime;
2026-03-05 16:14:52 +08:00
/** 描述 */
private String description;
2026-03-07 10:38:28 +08:00
/** 航线文件URL */
private String routeUrl;
2026-03-05 16:14:52 +08:00
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getTaskName() {
return taskName;
}
public void setTaskName(String taskName) {
this.taskName = taskName;
}
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 Long getPlanId() {
return planId;
}
public void setPlanId(Long planId) {
this.planId = planId;
}
public Long getRouteId() {
return routeId;
}
public void setRouteId(Long routeId) {
this.routeId = routeId;
}
2026-03-09 09:51:54 +08:00
public String getUavId() {
2026-03-05 16:14:52 +08:00
return uavId;
}
2026-03-09 09:51:54 +08:00
public void setUavId(String uavId) {
2026-03-05 16:14:52 +08:00
this.uavId = uavId;
}
public String getExecuteType() {
return executeType;
}
public void setExecuteType(String executeType) {
this.executeType = executeType;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
2026-03-14 10:41:13 +08:00
public Boolean getRecovery() {
return recovery;
}
public void setRecovery(Boolean recovery) {
this.recovery = recovery;
}
2026-03-05 16:14:52 +08:00
public Date getStartTime() {
return startTime;
}
public void setStartTime(Date startTime) {
this.startTime = startTime;
}
public Date getEndTime() {
return endTime;
}
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
2026-03-06 13:46:59 +08:00
public Date getActualStartTime() {
return actualStartTime;
}
public void setActualStartTime(Date actualStartTime) {
this.actualStartTime = actualStartTime;
}
public Date getActualEndTime() {
return actualEndTime;
}
public void setActualEndTime(Date actualEndTime) {
this.actualEndTime = actualEndTime;
}
2026-03-05 16:14:52 +08:00
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
2026-03-07 10:38:28 +08:00
public String getRouteUrl() {
return routeUrl;
}
public void setRouteUrl(String routeUrl) {
this.routeUrl = routeUrl;
}
2026-03-05 16:14:52 +08:00
@Override
public String toString() {
return "TaskInfoEntity{" +
"id=" + id +
", taskName='" + taskName + '\'' +
", taskCategory='" + taskCategory + '\'' +
", taskType='" + taskType + '\'' +
", planId=" + planId +
", routeId=" + routeId +
", uavId=" + uavId +
", executeType='" + executeType + '\'' +
", status='" + status + '\'' +
", startTime=" + startTime +
", endTime=" + endTime +
2026-03-06 13:46:59 +08:00
", actualStartTime=" + actualStartTime +
", actualEndTime=" + actualEndTime +
2026-03-05 16:14:52 +08:00
", description='" + description + '\'' +
2026-03-07 10:38:28 +08:00
", routeUrl='" + routeUrl + '\'' +
2026-03-05 16:14:52 +08:00
'}';
}
}