Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. -----------------------------------id.co.ams_plantation.plantationsocialmedia.Image.java-----------------------------------
  2.  
  3. package id.co.ams_plantation.plantationsocialmedia;
  4.  
  5.  
  6. public class Image {
  7.  
  8. private String fileName;
  9. private Double fileSize;
  10. private Double mimeType;
  11.  
  12. public String getFileName() {
  13. return fileName;
  14. }
  15.  
  16. public void setFileName(String fileName) {
  17. this.fileName = fileName;
  18. }
  19.  
  20. public Double getFileSize() {
  21. return fileSize;
  22. }
  23.  
  24. public void setFileSize(Double fileSize) {
  25. this.fileSize = fileSize;
  26. }
  27.  
  28. public Double getMimeType() {
  29. return mimeType;
  30. }
  31.  
  32. public void setMimeType(Double mimeType) {
  33. this.mimeType = mimeType;
  34. }
  35.  
  36. }
  37. -----------------------------------id.co.ams_plantation.plantationsocialmedia.Post.java-----------------------------------
  38.  
  39. package id.co.ams_plantation.plantationsocialmedia;
  40.  
  41.  
  42. public class Post {
  43.  
  44. private Integer categoryId;
  45. private Integer visibilityId;
  46. private Integer userId;
  47. private String priority;
  48. private String detailRemarks;
  49. private Integer openDate;
  50. private String isOnLocation;
  51. private Image image;
  52.  
  53. public Integer getCategoryId() {
  54. return categoryId;
  55. }
  56.  
  57. public void setCategoryId(Integer categoryId) {
  58. this.categoryId = categoryId;
  59. }
  60.  
  61. public Integer getVisibilityId() {
  62. return visibilityId;
  63. }
  64.  
  65. public void setVisibilityId(Integer visibilityId) {
  66. this.visibilityId = visibilityId;
  67. }
  68.  
  69. public Integer getUserId() {
  70. return userId;
  71. }
  72.  
  73. public void setUserId(Integer userId) {
  74. this.userId = userId;
  75. }
  76.  
  77. public String getPriority() {
  78. return priority;
  79. }
  80.  
  81. public void setPriority(String priority) {
  82. this.priority = priority;
  83. }
  84.  
  85. public String getDetailRemarks() {
  86. return detailRemarks;
  87. }
  88.  
  89. public void setDetailRemarks(String detailRemarks) {
  90. this.detailRemarks = detailRemarks;
  91. }
  92.  
  93. public Integer getOpenDate() {
  94. return openDate;
  95. }
  96.  
  97. public void setOpenDate(Integer openDate) {
  98. this.openDate = openDate;
  99. }
  100.  
  101. public String getIsOnLocation() {
  102. return isOnLocation;
  103. }
  104.  
  105. public void setIsOnLocation(String isOnLocation) {
  106. this.isOnLocation = isOnLocation;
  107. }
  108.  
  109. public Image getImage() {
  110. return image;
  111. }
  112.  
  113. public void setImage(Image image) {
  114. this.image = image;
  115. }
  116.  
  117. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement