Add outline of activity class, has bugs

This commit is contained in:
Merel Steenbergen
2019-03-14 14:04:04 +01:00
parent c07ea93176
commit 72c8a213a1
3 changed files with 136 additions and 1 deletions

View File

@@ -0,0 +1,34 @@
package greenify.common;
public class ActivityDTO {
private Long id;
private String name;
private String description;
private int score;
public ActivityDTO() {
}
public ActivityDTO(Long id, String name, String description, int score) {
this.id = id;
this.name = name;
this.description=description;
this.score= score;
}
public String getName() {
return name;
}
public Long getId() {
return id;
}
public String getDescription() {
return description;
}
public int getScore() {
return score;
}
}