mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
28 lines
578 B
Java
28 lines
578 B
Java
package com.commafeed.frontend.model;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
|
|
import io.swagger.annotations.ApiModel;
|
|
import lombok.Data;
|
|
|
|
@SuppressWarnings("serial")
|
|
@ApiModel("Unread count")
|
|
@Data
|
|
public class UnreadCount implements Serializable {
|
|
|
|
private long feedId;
|
|
private long unreadCount;
|
|
private Date newestItemTime;
|
|
|
|
public UnreadCount() {
|
|
}
|
|
|
|
public UnreadCount(long feedId, long unreadCount, Date newestItemTime) {
|
|
this.feedId = feedId;
|
|
this.unreadCount = unreadCount;
|
|
this.newestItemTime = newestItemTime;
|
|
}
|
|
|
|
}
|