aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/api/activity/model/Activity.java
blob: 2af14479fced361772654ffd85a4dc6e77c0732a (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
package com.juick.server.api.activity.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.juick.server.api.activity.helpers.ActivityIdDeserializer;

public abstract class Activity extends Context {

    @JsonDeserialize(using = ActivityIdDeserializer.class)
    private String actor;
    private Object object;

    public String getActor() {
        return actor;
    }

    public void setActor(String actor) {
        this.actor = actor;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}