aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/api/xnodeinfo2/model/Usage.java
blob: f270296f86318cae321f60172e7a987a1ded1cf0 (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 Usage {
    private UserStats users;
    private int localPosts;
    private int localComments;

    public UserStats getUsers() {
        return users;
    }

    public void setUsers(UserStats users) {
        this.users = users;
    }

    public int getLocalPosts() {
        return localPosts;
    }

    public void setLocalPosts(int localPosts) {
        this.localPosts = localPosts;
    }

    public int getLocalComments() {
        return localComments;
    }

    public void setLocalComments(int localComments) {
        this.localComments = localComments;
    }
}