Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------------------------id.co.ams_plantation.plantationsocialmedia.Image.java-----------------------------------
- package id.co.ams_plantation.plantationsocialmedia;
- import com.google.gson.annotations.Expose;
- import com.google.gson.annotations.SerializedName;
- public class Image {
- @SerializedName("file_name")
- @Expose
- private String fileName;
- @SerializedName("file_size")
- @Expose
- private Double fileSize;
- @SerializedName("mime_type")
- @Expose
- private Double mimeType;
- public String getFileName() {
- return fileName;
- }
- public void setFileName(String fileName) {
- this.fileName = fileName;
- }
- public Double getFileSize() {
- return fileSize;
- }
- public void setFileSize(Double fileSize) {
- this.fileSize = fileSize;
- }
- public Double getMimeType() {
- return mimeType;
- }
- public void setMimeType(Double mimeType) {
- this.mimeType = mimeType;
- }
- }
- -----------------------------------id.co.ams_plantation.plantationsocialmedia.Post.java-----------------------------------
- package id.co.ams_plantation.plantationsocialmedia;
- import com.google.gson.annotations.Expose;
- import com.google.gson.annotations.SerializedName;
- public class Post {
- @SerializedName("category_id")
- @Expose
- private Integer categoryId;
- @SerializedName("visibility_id")
- @Expose
- private Integer visibilityId;
- @SerializedName("userId")
- @Expose
- private Integer userId;
- @SerializedName("priority")
- @Expose
- private String priority;
- @SerializedName("detailRemarks")
- @Expose
- private String detailRemarks;
- @SerializedName("openDate")
- @Expose
- private Integer openDate;
- @SerializedName("isOnLocation")
- @Expose
- private String isOnLocation;
- @SerializedName("image")
- @Expose
- private Image image;
- public Integer getCategoryId() {
- return categoryId;
- }
- public void setCategoryId(Integer categoryId) {
- this.categoryId = categoryId;
- }
- public Integer getVisibilityId() {
- return visibilityId;
- }
- public void setVisibilityId(Integer visibilityId) {
- this.visibilityId = visibilityId;
- }
- public Integer getUserId() {
- return userId;
- }
- public void setUserId(Integer userId) {
- this.userId = userId;
- }
- public String getPriority() {
- return priority;
- }
- public void setPriority(String priority) {
- this.priority = priority;
- }
- public String getDetailRemarks() {
- return detailRemarks;
- }
- public void setDetailRemarks(String detailRemarks) {
- this.detailRemarks = detailRemarks;
- }
- public Integer getOpenDate() {
- return openDate;
- }
- public void setOpenDate(Integer openDate) {
- this.openDate = openDate;
- }
- public String getIsOnLocation() {
- return isOnLocation;
- }
- public void setIsOnLocation(String isOnLocation) {
- this.isOnLocation = isOnLocation;
- }
- public Image getImage() {
- return image;
- }
- public void setImage(Image image) {
- this.image = image;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement