Newer
Older
NemophilaClient / app / src / main / java / com / example / nemophila / entities / Post.java
package com.example.nemophila.entities;

public class Post {
    private String id;
    private String genre;
    private String image1;
    private String image2;
    private String image3;
    private int rate;
    private String comment;
    private Account owner;

    //Getter
    public String getId() {
        return id;
    }
    public String getGenre() {
        return genre;
    }
    public String getImage1() {
        return image1;
    }
    public String getImage2() {
        return image2;
    }
    public String getImage3() {
        return image3;
    }
    public int getRate() {
        return rate;
    }
    public String getComment() {
        return comment;
    }
    public Account getOwner() {
        return owner;
    }

    //Setter
    public void setId(String id) {
        this.id = id;
    }
    public void setGenre(String genre) {
        this.genre = genre;
    }
    public void setImage1(String image1) {
        this.image1 = image1;
    }
    public void setImage2(String image2) {
        this.image2 = image2;
    }
    public void setImage3(String image3) {
        this.image3 = image3;
    }
    public void setRate(int rate) {
        this.rate = rate;
    }
    public void setComment(String comment) {
        this.comment = comment;
    }
    public void setOwner(Account owner) {
        this.owner = owner;
    }
}