/src/com/bosv/bean/News.java
Java | 62 lines | 46 code | 16 blank | 0 comment | 0 complexity | 6d8ba5695f63a36944aaf553e5fc7494 MD5 | raw file
- package com.bosv.bean;
-
- import com.alibaba.fastjson.annotation.JSONField;
-
- public class News extends Entity {
-
- private String title;
- private String summary;
- private String body;
- private String createdAt;
- private String pictureUrl;
- private NewsGroup newsGroup;
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public String getSummary() {
- return summary;
- }
-
- public void setSummary(String summary) {
- this.summary = summary;
- }
-
- public String getBody() {
- return body;
- }
-
- public void setBody(String body) {
- this.body = body;
- }
-
- public String getCreatedAt() {
- return createdAt;
- }
-
- public void setCreatedAt(String createdAt) {
- this.createdAt = createdAt;
- }
-
- public String getPictureUrl() {
- return pictureUrl;
- }
-
- public void setPictureUrl(String pictureUrl) {
- this.pictureUrl = pictureUrl;
- }
-
- public NewsGroup getNewsGroup() {
- return newsGroup;
- }
-
- public void setNewsGroup(NewsGroup newsGroup) {
- this.newsGroup = newsGroup;
- }
-
- }