You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
691 B
40 lines
691 B
package com.community.pocket.data.model;
|
|
|
|
import androidx.annotation.NonNull;
|
|
|
|
/**
|
|
* 活跃用户
|
|
*/
|
|
public class UserHot extends AbstractForumHot {
|
|
//用户ID
|
|
private Integer userId;
|
|
//用户名
|
|
private String userName;
|
|
|
|
public Integer getUserId() {
|
|
return userId;
|
|
}
|
|
|
|
public void setUserId(Integer userId) {
|
|
this.userId = userId;
|
|
}
|
|
|
|
public String getUserName() {
|
|
return userName;
|
|
}
|
|
|
|
public void setUserName(String userName) {
|
|
this.userName = userName;
|
|
}
|
|
|
|
@NonNull
|
|
@Override
|
|
public String toString() {
|
|
return userName;
|
|
}
|
|
|
|
@Override
|
|
int getId() {
|
|
return userId;
|
|
}
|
|
}
|
|
|