msgcountim.java
来自「一个不错的bbs论坛系统.对初学者很有帮助」· Java 代码 · 共 37 行
JAVA
37 行
package com.yhbbs.message.bean;
import com.yhbbs.message.itface.MsgCount;
/**
* <p>Title:论坛用户短消息相关统计</p>
* <li> 论坛用户短消息数量统计,主要是用于首页调用 <br>
* <br><b>WebSite: www.yyhweb.com</b>
* <br><b>CopyRight: yyhweb[由由华网]</b>
* @author stephen
* @version YHBBS-2.0
*/
public class MsgCountIm implements MsgCount {
private int newmsgs = 0;
private int sends = 0;
private int receives = 0;
public int getNewmsgs() {
return newmsgs;
}
public void setNewmsgs(int newmsgs) {
this.newmsgs = newmsgs;
}
public int getReceives() {
return receives;
}
public void setReceives(int receives) {
this.receives = receives;
}
public int getSends() {
return sends;
}
public void setSends(int sends) {
this.sends = sends;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?