guyue
4 天以前 89f8649e8cf9bc12b9e29abb0adc4f9b77273143
src/main/java/com/linghu/model/entity/Question.java
@@ -5,8 +5,10 @@
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * 
@@ -49,7 +51,8 @@
    /**
     * 采集时间
     */
    private Date timestamp;
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSS", timezone = "GMT+8")
    private LocalDateTime timestamp;
    /**
     * 提取的引用数量
@@ -81,15 +84,23 @@
            return false;
        }
        Question other = (Question) that;
        return (this.getQuestion_id() == null ? other.getQuestion_id() == null : this.getQuestion_id().equals(other.getQuestion_id()))
            && (this.getKeyword_id() == null ? other.getKeyword_id() == null : this.getKeyword_id().equals(other.getKeyword_id()))
            && (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
        return (this.getQuestion_id() == null ? other.getQuestion_id() == null
                : this.getQuestion_id().equals(other.getQuestion_id()))
                && (this.getKeyword_id() == null ? other.getKeyword_id() == null
                        : this.getKeyword_id().equals(other.getKeyword_id()))
                && (this.getQuestion() == null ? other.getQuestion() == null
                        : this.getQuestion().equals(other.getQuestion()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getUser_name() == null ? other.getUser_name() == null : this.getUser_name().equals(other.getUser_name()))
            && (this.getUser_email() == null ? other.getUser_email() == null : this.getUser_email().equals(other.getUser_email()))
            && (this.getTimestamp() == null ? other.getTimestamp() == null : this.getTimestamp().equals(other.getTimestamp()))
            && (this.getExtracted_count() == null ? other.getExtracted_count() == null : this.getExtracted_count().equals(other.getExtracted_count()))
            && (this.getResponse() == null ? other.getResponse() == null : this.getResponse().equals(other.getResponse()))
                && (this.getUser_name() == null ? other.getUser_name() == null
                        : this.getUser_name().equals(other.getUser_name()))
                && (this.getUser_email() == null ? other.getUser_email() == null
                        : this.getUser_email().equals(other.getUser_email()))
                && (this.getTimestamp() == null ? other.getTimestamp() == null
                        : this.getTimestamp().equals(other.getTimestamp()))
                && (this.getExtracted_count() == null ? other.getExtracted_count() == null
                        : this.getExtracted_count().equals(other.getExtracted_count()))
                && (this.getResponse() == null ? other.getResponse() == null
                        : this.getResponse().equals(other.getResponse()))
            && (this.getError() == null ? other.getError() == null : this.getError().equals(other.getError()));
    }