Back to project page android.app.niuz.io.
The source code is released under:
GNU General Public License
If you think the Android project android.app.niuz.io listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.niuz.model; //w ww. j a v a 2 s. co m public class News { public static final int REFRESHED_EVERY_MINUTES = 30; public static final int MASHING_OFFSET_FOR_POPULARITY = 4; private Long id; private String title; private String link; private String createdAtStr; private String updatedAtStr; private Long newsCompanyId; private Long subcategoryId; private Long subcategoryWeight; private String subcategoryName; private String newsCompanyName; public News(Long id, String title, String link, String createdAtStr, String updatedAtStr, Long newsCompanyId, Long subcategoryId, Long subcategoryWeight, String subcategoryName, String newsCompanyName) { this.id = id; this.title = title; this.link = link; this.createdAtStr = createdAtStr; this.updatedAtStr = updatedAtStr; this.newsCompanyId = newsCompanyId; this.subcategoryId = subcategoryId; this.subcategoryWeight = subcategoryWeight; this.subcategoryName = subcategoryName; this.newsCompanyName = newsCompanyName; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getLink() { return link; } public void setLink(String link) { this.link = link; } public String getCreatedAtStr() { return createdAtStr; } public void setCreatedAtStr(String createdAtStr) { this.createdAtStr = createdAtStr; } public String getUpdatedAtStr() { return updatedAtStr; } public void setUpdatedAtStr(String updatedAtStr) { this.updatedAtStr = updatedAtStr; } public Long getNewsCompanyId() { return newsCompanyId; } public void setNewsCompanyId(Long newsCompanyId) { this.newsCompanyId = newsCompanyId; } public Long getSubcategoryId() { return subcategoryId; } public void setSubcategoryId(Long subcategoryId) { this.subcategoryId = subcategoryId; } public Long getSubcategoryWeight() { return subcategoryWeight; } public void setSubcategoryWeight(Long subcategoryWeight) { this.subcategoryWeight = subcategoryWeight; } public String getSubcategoryName() { return subcategoryName; } public void setSubcategoryName(String subcategoryName) { this.subcategoryName = subcategoryName; } public String getNewsCompanyName() { return newsCompanyName; } public void setNewsCompanyName(String newsCompanyName) { this.newsCompanyName = newsCompanyName; } }