package com.ruoyi.task.mapper.entity; import com.ruoyi.common.core.web.domain.BaseEntity; import java.util.Date; /** * 任务计划表实体对象 task_plan * Mapper 层实体,对应数据库表 * * @author ruoyi * @date 2026-03-05 */ public class TaskPlanEntity extends BaseEntity { private static final long serialVersionUID = 1L; /** 计划主键 */ private Long id; /** 计划名称 */ private String planName; /** 计划类型 */ private String planType; /** 周期类型 */ private String cycleType; /** 周期值 */ private String cycleValue; /** 执行类型 */ private String executeType; /** 执行时间 */ private Date executeTime; /** 执行时长 秒 */ private Integer duration; /** 开始日期 */ private Date startDate; /** 结束日期 */ private Date endDate; /** 航线ID */ private Long routeId; /** 无人机ID */ private Long uavId; /** 状态 */ private String status; /** 描述 */ private String description; 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 getCycleType() { return cycleType; } public void setCycleType(String cycleType) { this.cycleType = cycleType; } public String getCycleValue() { return cycleValue; } public void setCycleValue(String cycleValue) { this.cycleValue = cycleValue; } public String getExecuteType() { return executeType; } public void setExecuteType(String executeType) { this.executeType = executeType; } public Date getExecuteTime() { return executeTime; } public void setExecuteTime(Date executeTime) { this.executeTime = executeTime; } public Integer getDuration() { return duration; } public void setDuration(Integer duration) { this.duration = duration; } public Date getStartDate() { return startDate; } public void setStartDate(Date startDate) { this.startDate = startDate; } public Date getEndDate() { return endDate; } public void setEndDate(Date endDate) { this.endDate = endDate; } 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 getDescription() { return description; } public void setDescription(String description) { this.description = description; } @Override public String toString() { return "TaskPlanEntity{" + "id=" + id + ", planName='" + planName + '\'' + ", planType='" + planType + '\'' + ", cycleType='" + cycleType + '\'' + ", cycleValue='" + cycleValue + '\'' + ", executeType='" + executeType + '\'' + ", executeTime=" + executeTime + ", duration=" + duration + ", startDate=" + startDate + ", endDate=" + endDate + ", routeId=" + routeId + ", uavId=" + uavId + ", status='" + status + '\'' + ", description='" + description + '\'' + '}'; } }