Back to project page Mamytas.
The source code is released under:
GNU General Public License
If you think the Android project Mamytas listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package mn.aug.restfulandroid.rest.resource; //from w ww . j a v a 2 s . co m import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by Paul on 09/11/2014. */ public class Reminder implements Resource { int id = 0; int task_id = 0; String date = null; String owner = "null"; @JsonCreator public Reminder(@JsonProperty("id") int id,@JsonProperty("task_id") int task_id,@JsonProperty("date") String date,@JsonProperty("owner") String owner) { super(); this.id = id; this.task_id = task_id; this.date = date; this.owner = owner; } public int getId() { return id; } public void setId(int id) { this.id = id; } public int getTask_id() { return task_id; } public void setTask_id(int task_id) { this.task_id = task_id; } public String getDate() { return date; } public void setDate(String date) { this.date = date; } public String getOwner() { return owner; } public void setOwner(String owner) { this.owner = owner; } }