From ff1fec7eae681e89e607fd441d2597ab67b5ed2a Mon Sep 17 00:00:00 2001 From: guyue <1721849008@qq.com> Date: 星期二, 12 八月 2025 19:04:34 +0800 Subject: [PATCH] 修改查看时间和删除关键词 --- src/main/java/com/linghu/model/entity/KeywordTask.java | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/linghu/model/entity/KeywordTask.java b/src/main/java/com/linghu/model/entity/KeywordTask.java index 7a1c5b9..57d55b5 100644 --- a/src/main/java/com/linghu/model/entity/KeywordTask.java +++ b/src/main/java/com/linghu/model/entity/KeywordTask.java @@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; +import java.util.Date; + import lombok.Data; /** @@ -29,6 +31,10 @@ * */ private String task_id; + private String status; + private Integer num; + private String error; + private Date create_time; @TableField(exist = false) private static final long serialVersionUID = 1L; @@ -47,7 +53,8 @@ KeywordTask other = (KeywordTask) that; return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) && (this.getKeyword_id() == null ? other.getKeyword_id() == null : this.getKeyword_id().equals(other.getKeyword_id())) - && (this.getTask_id() == null ? other.getTask_id() == null : this.getTask_id().equals(other.getTask_id())); + && (this.getTask_id() == null ? other.getTask_id() == null : this.getTask_id().equals(other.getTask_id())) + && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())); } @Override @@ -57,6 +64,7 @@ result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); result = prime * result + ((getKeyword_id() == null) ? 0 : getKeyword_id().hashCode()); result = prime * result + ((getTask_id() == null) ? 0 : getTask_id().hashCode()); + result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); return result; } @@ -70,6 +78,7 @@ sb.append(", keyword_id=").append(keyword_id); sb.append(", task_id=").append(task_id); sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append(", status=").append(status); sb.append("]"); return sb.toString(); } -- Gitblit v1.7.1