aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/api/xnodeinfo2/model/UserStats.java
blob: cca31be614c1aa3f44e8e150841e8b3a077a733d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.juick.server.api.xnodeinfo2.model;

import com.fasterxml.jackson.annotation.JsonView;

@JsonView({NodeInfo.NodeInfoView.class, NodeInfo.XNodeInfoView.class})
public class UserStats {
    private int total;
    private int activeHalfyear;
    private int activeMonth;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getActiveHalfyear() {
        return activeHalfyear;
    }

    public void setActiveHalfyear(int activeHalfyear) {
        this.activeHalfyear = activeHalfyear;
    }

    public int getActiveMonth() {
        return activeMonth;
    }

    public void setActiveMonth(int activeMonth) {
        this.activeMonth = activeMonth;
    }
}