mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
46 lines
926 B
Java
46 lines
926 B
Java
|
|
package com.commafeed.frontend.model;
|
||
|
|
|
||
|
|
import java.io.Serializable;
|
||
|
|
|
||
|
|
import javax.xml.bind.annotation.XmlAccessType;
|
||
|
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||
|
|
import javax.xml.bind.annotation.XmlRootElement;
|
||
|
|
|
||
|
|
import com.wordnik.swagger.annotations.ApiClass;
|
||
|
|
|
||
|
|
@SuppressWarnings("serial")
|
||
|
|
@XmlRootElement
|
||
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||
|
|
@ApiClass("Unread count")
|
||
|
|
public class UnreadCount implements Serializable {
|
||
|
|
|
||
|
|
private long feedId;
|
||
|
|
private long unreadCount;
|
||
|
|
|
||
|
|
public UnreadCount() {
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public UnreadCount(long feedId, long unreadCount) {
|
||
|
|
this.feedId = feedId;
|
||
|
|
this.unreadCount = unreadCount;
|
||
|
|
}
|
||
|
|
|
||
|
|
public long getFeedId() {
|
||
|
|
return feedId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setFeedId(long feedId) {
|
||
|
|
this.feedId = feedId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public long getUnreadCount() {
|
||
|
|
return unreadCount;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setUnreadCount(long unreadCount) {
|
||
|
|
this.unreadCount = unreadCount;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|