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

203 lines
4.1 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_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;
2026-03-06 13:41:24 +08:00
/** 执行时长 秒 */
private Integer duration;
2026-03-05 16:14:52 +08:00
/** 开始日期 */
private Date startDate;
/** 结束日期 */
private Date endDate;
/** 航线ID */
private Long routeId;
/** 无人机ID */
private Long uavId;
/** 状态 */
private String status;
/** 描述 */
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 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;
}
2026-03-06 13:41:24 +08:00
public Integer getDuration() {
return duration;
}
public void setDuration(Integer duration) {
this.duration = duration;
}
2026-03-05 16:14:52 +08:00
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;
}
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 "TaskPlanEntity{" +
"id=" + id +
", planName='" + planName + '\'' +
", planType='" + planType + '\'' +
", cycleType='" + cycleType + '\'' +
", cycleValue='" + cycleValue + '\'' +
", executeType='" + executeType + '\'' +
", executeTime=" + executeTime +
2026-03-06 13:41:24 +08:00
", duration=" + duration +
2026-03-05 16:14:52 +08:00
", startDate=" + startDate +
", endDate=" + endDate +
", routeId=" + routeId +
", uavId=" + uavId +
", status='" + status + '\'' +
", description='" + description + '\'' +
2026-03-07 10:38:28 +08:00
", routeUrl='" + routeUrl + '\'' +
2026-03-05 16:14:52 +08:00
'}';
}
}