package org.example.tampoposerverdtram.resources;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.*;
public class Activity {
@JsonIgnore
private User user;
private String text;
private String updatedTime;
public Map<String, Object> getValue() {
Map temp_nil10 = new HashMap<>();
temp_nil10.put("text",this.getText());
temp_nil10.put("updatedTime",this.getUpdatedTime());
return temp_nil10;
}
public String getText() {
return this.text;
}
public String getUpdatedTime() {
return this.updatedTime;
}
public Activity(String userId, String text, String updatedTime, User user) {
this.text = text;
this.updatedTime = updatedTime;
this.user = user;
this.user.updateLastUpdatedTimeFromUpdatedTime(userId, userId, 0, this.updatedTime);
}
}