PageRenderTime 61ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/src/com/bosv/bean/News.java

https://bitbucket.org/eagleon/restcoffee
Java | 62 lines | 46 code | 16 blank | 0 comment | 0 complexity | 6d8ba5695f63a36944aaf553e5fc7494 MD5 | raw file
  1. package com.bosv.bean;
  2. import com.alibaba.fastjson.annotation.JSONField;
  3. public class News extends Entity {
  4. private String title;
  5. private String summary;
  6. private String body;
  7. private String createdAt;
  8. private String pictureUrl;
  9. private NewsGroup newsGroup;
  10. public String getTitle() {
  11. return title;
  12. }
  13. public void setTitle(String title) {
  14. this.title = title;
  15. }
  16. public String getSummary() {
  17. return summary;
  18. }
  19. public void setSummary(String summary) {
  20. this.summary = summary;
  21. }
  22. public String getBody() {
  23. return body;
  24. }
  25. public void setBody(String body) {
  26. this.body = body;
  27. }
  28. public String getCreatedAt() {
  29. return createdAt;
  30. }
  31. public void setCreatedAt(String createdAt) {
  32. this.createdAt = createdAt;
  33. }
  34. public String getPictureUrl() {
  35. return pictureUrl;
  36. }
  37. public void setPictureUrl(String pictureUrl) {
  38. this.pictureUrl = pictureUrl;
  39. }
  40. public NewsGroup getNewsGroup() {
  41. return newsGroup;
  42. }
  43. public void setNewsGroup(NewsGroup newsGroup) {
  44. this.newsGroup = newsGroup;
  45. }
  46. }