From 22213e0a640f6912659150f6b0c60ee177006757 Mon Sep 17 00:00:00 2001 From: LeiJuntao <2606542098@qq.com> Date: Sun, 31 May 2026 15:14:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20'project/java-cli/src/main?= =?UTF-8?q?/java/com/example/datacollect/model/Article.java'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../example/datacollect/model/Article.java | 73 ------------------- 1 file changed, 73 deletions(-) delete mode 100644 project/java-cli/src/main/java/com/example/datacollect/model/Article.java diff --git a/project/java-cli/src/main/java/com/example/datacollect/model/Article.java b/project/java-cli/src/main/java/com/example/datacollect/model/Article.java deleted file mode 100644 index 978c641..0000000 --- a/project/java-cli/src/main/java/com/example/datacollect/model/Article.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.example.datacollect.model; - -public class Article { - private String title; - private String url; - private String content; - private String author; - private String publishDate; - - public Article(String title, String url, String content) { - this.title = title; - this.url = url; - this.content = content; - } - - public Article(String title, String url, String content, String author, String publishDate) { - this.title = title; - this.url = url; - this.content = content; - this.author = author; - this.publishDate = publishDate; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public String getUrl() { - return url; - } - - public void setUrl(String url) { - this.url = url; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - public String getAuthor() { - return author; - } - - public void setAuthor(String author) { - this.author = author; - } - - public String getPublishDate() { - return publishDate; - } - - public void setPublishDate(String publishDate) { - this.publishDate = publishDate; - } - - @Override - public String toString() { - return "Article{" - + "title='" + title + '\'' - + ", url='" + url + '\'' - + ", author='" + author + '\'' - + ", publishDate='" + publishDate + '\'' - + '}'; - } -}