#93 completed count
parent
44e3fc2c6e
commit
9bec1d080d
@ -0,0 +1,37 @@
|
||||
package ru.ulstu.user.model;
|
||||
|
||||
public class ActivityElement {
|
||||
private int startedCount;
|
||||
private int completedCount;
|
||||
|
||||
public ActivityElement() {}
|
||||
|
||||
public ActivityElement(int startedCount, int completedCount) {
|
||||
this.startedCount = startedCount;
|
||||
this.completedCount = completedCount;
|
||||
}
|
||||
|
||||
public int getStartedCount() {
|
||||
return startedCount;
|
||||
}
|
||||
|
||||
public void setStartedCount(int startedCount) {
|
||||
this.startedCount = startedCount;
|
||||
}
|
||||
|
||||
public int getCompletedCount() {
|
||||
return completedCount;
|
||||
}
|
||||
|
||||
public void setCompletedCount(int completedCount) {
|
||||
this.completedCount = completedCount;
|
||||
}
|
||||
|
||||
public void incrementStartedCount() {
|
||||
this.startedCount ++;
|
||||
}
|
||||
|
||||
public void incrementCompletedCount() {
|
||||
this.completedCount ++;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue