| | |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * 任务更新对象 |
| | | * 任务更新对象(继承自TaskCreateVO) |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-01-15 |
| | | */ |
| | | public class TaskUpdateVO { |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class TaskUpdateVO extends TaskCreateVO { |
| | | |
| | | /** 任务ID */ |
| | | /** 任务ID(必填,用于更新指定任务) */ |
| | | private Long taskId; |
| | | |
| | | /** 任务描述 */ |
| | | private String taskDescription; |
| | | |
| | | /** 出发地址 */ |
| | | private String departureAddress; |
| | | |
| | | /** 目的地址 */ |
| | | private String destinationAddress; |
| | | |
| | | /** 计划开始时间 */ |
| | | |
| | | /** 更新时间 */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date plannedStartTime; |
| | | |
| | | /** 计划结束时间 */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date plannedEndTime; |
| | | |
| | | /** 执行人ID */ |
| | | private Long assigneeId; |
| | | |
| | | /** 备注 */ |
| | | private String remark; |
| | | |
| | | public Long getTaskId() { |
| | | return taskId; |
| | | } |
| | | |
| | | public void setTaskId(Long taskId) { |
| | | this.taskId = taskId; |
| | | } |
| | | |
| | | public String getTaskDescription() { |
| | | return taskDescription; |
| | | } |
| | | |
| | | public void setTaskDescription(String taskDescription) { |
| | | this.taskDescription = taskDescription; |
| | | } |
| | | |
| | | public String getDepartureAddress() { |
| | | return departureAddress; |
| | | } |
| | | |
| | | public void setDepartureAddress(String departureAddress) { |
| | | this.departureAddress = departureAddress; |
| | | } |
| | | |
| | | public String getDestinationAddress() { |
| | | return destinationAddress; |
| | | } |
| | | |
| | | public void setDestinationAddress(String destinationAddress) { |
| | | this.destinationAddress = destinationAddress; |
| | | } |
| | | |
| | | public Date getPlannedStartTime() { |
| | | return plannedStartTime; |
| | | } |
| | | |
| | | public void setPlannedStartTime(Date plannedStartTime) { |
| | | this.plannedStartTime = plannedStartTime; |
| | | } |
| | | |
| | | public Date getPlannedEndTime() { |
| | | return plannedEndTime; |
| | | } |
| | | |
| | | public void setPlannedEndTime(Date plannedEndTime) { |
| | | this.plannedEndTime = plannedEndTime; |
| | | } |
| | | |
| | | public Long getAssigneeId() { |
| | | return assigneeId; |
| | | } |
| | | |
| | | public void setAssigneeId(Long assigneeId) { |
| | | this.assigneeId = assigneeId; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | private Date updateTime; |
| | | } |