| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- package com.xzl.system.domain;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.xzl.common.annotation.Excel;
- import com.xzl.common.core.domain.BaseEntity;
- import org.apache.commons.lang3.builder.ToStringBuilder;
- import org.apache.commons.lang3.builder.ToStringStyle;
- import java.util.Date;
- /**
- * 原始采集数据对象 sys_spider_source_data
- *
- * @author xzl
- * @date 2025-11-13
- */
- public class SysSpiderSourceData extends BaseEntity {
- private static final long serialVersionUID = 1L;
- /**
- * 原始数据ID
- */
- private Long id;
- /**
- * 采集页面URL
- */
- @Excel(name = "采集页面URL")
- private String pageUrl;
- /**
- * 原始文本内容(HTML/JSON等)
- */
- @Excel(name = "原始文本内容", readConverterExp = "H=TML/JSON等")
- private String rawContent;
- /**
- * 原始文本内容(HTML/JSON等)
- */
- @Excel(name = "原始文本内容", readConverterExp = "H=TML/JSON等")
- private String rawContentFilter;
- /**
- * 原始附件信息(JSON格式:文件名、URL等)
- */
- @Excel(name = "原始附件信息", readConverterExp = "J=SON格式:文件名、URL等")
- private String rawAttachments;
- /**
- * 采集时间
- */
- @JsonFormat(pattern = "yyyy-MM-dd")
- @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
- private Date collectionTime;
- /**
- * 关联采集任务ID(便于追溯)
- */
- @Excel(name = "关联采集任务ID", readConverterExp = "便=于追溯")
- private String taskId;
- public void setId(Long id) {
- this.id = id;
- }
- public Long getId() {
- return id;
- }
- public void setPageUrl(String pageUrl) {
- this.pageUrl = pageUrl;
- }
- public String getPageUrl() {
- return pageUrl;
- }
- public void setRawContent(String rawContent) {
- this.rawContent = rawContent;
- }
- public void setRawContentFilter(String rawContentFilter) {
- this.rawContentFilter = rawContentFilter;
- }
- public String getRawContent() {
- return rawContent;
- }
- public String getRawContentFilter() {
- return rawContentFilter;
- }
- public void setRawAttachments(String rawAttachments) {
- this.rawAttachments = rawAttachments;
- }
- public String getRawAttachments() {
- return rawAttachments;
- }
- public void setCollectionTime(Date collectionTime) {
- this.collectionTime = collectionTime;
- }
- public Date getCollectionTime() {
- return collectionTime;
- }
- public void setTaskId(String taskId) {
- this.taskId = taskId;
- }
- public String getTaskId() {
- return taskId;
- }
- @Override
- public String toString() {
- return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
- .append("id", getId())
- .append("pageUrl", getPageUrl())
- .append("rawContent", getRawContent())
- .append("rawContentFilter", getRawContentFilter())
- .append("rawAttachments", getRawAttachments())
- .append("collectionTime", getCollectionTime())
- .append("taskId", getTaskId())
- .toString();
- }
- }
|