Created
May 24, 2018 15:27
-
-
Save griajobag/4124c99d15e203fbc3bc538b886b584d to your computer and use it in GitHub Desktop.
Rating
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.putuguna.ratinggoogleplaystore.reviews; | |
import java.util.Date; | |
public class ReviewModel { | |
private String name; | |
private String review; | |
private Date timeStamp; | |
private double totalStarGiven; | |
public ReviewModel(String name, String review, Date timeStamp, double totalStarGiven) { | |
this.name = name; | |
this.review = review; | |
this.timeStamp = timeStamp; | |
this.totalStarGiven = totalStarGiven; | |
} | |
public ReviewModel() { | |
} | |
public String getName() { | |
return name; | |
} | |
public void setName(String name) { | |
this.name = name; | |
} | |
public String getReview() { | |
return review; | |
} | |
public void setReview(String review) { | |
this.review = review; | |
} | |
public Date getTimeStamp() { | |
return timeStamp; | |
} | |
public void setTimeStamp(Date timeStamp) { | |
this.timeStamp = timeStamp; | |
} | |
public double getTotalStarGiven() { | |
return totalStarGiven; | |
} | |
public void setTotalStarGiven(double totalStarGiven) { | |
this.totalStarGiven = totalStarGiven; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment