You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
638 B

package com.yyt.moviecrawler.model;
public class NewsArticle {
private String title;
private String summary;
private String publishTime;
private String category;
public NewsArticle(String title, String summary, String publishTime, String category) {
this.title = title;
this.summary = summary;
this.publishTime = publishTime;
this.category = category;
}
// Getter
public String getTitle() { return title; }
public String getSummary() { return summary; }
public String getPublishTime() { return publishTime; }
public String getCategory() { return category; }
}