aboutsummaryrefslogtreecommitdiff
path: root/juick-server-core/src/main/java/com/juick/server/helpers/TagStats.java
blob: e872099130658c9e139d3012e4e4fdf8ab0137d8 (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
package com.juick.server.helpers;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.juick.Tag;

/**
 * Created by vitalyster on 01.12.2016.
 */
public class TagStats {
    private Tag tag;
    private int usageCount;

    public Tag getTag() {
        return tag;
    }

    public void setTag(Tag tag) {
        this.tag = tag;
    }

    @JsonProperty("messages")
    public int getUsageCount() {
        return usageCount;
    }

    public void setUsageCount(int usageCount) {
        this.usageCount = usageCount;
    }
}