📄 articledto.java
字号:
package com.yhcms.article.dto;
import java.util.Date;
/**
* <p>Title:系统文章属性类</p>
* <li>显示文章链接时文章的部分属性,该类只有文章Id,标题,作者,录入时间和阅读次数</li>
* <b>CopyRight: yyhweb[由由华网]</b>
* @author stephen
* @version YH-2.0
*/
public class ArticleDto {
private int id = 0;
private int bigclassid = 0;
private String bigclass = "";
private String firsttitle = "";
private String author = "";
private String fdatetime;
private int readtimes = 0;
/** 取得文章Id
* @return 文章Id
* */
public int getId(){
return id;
}
/** 设置文章Id
* @param id 文章Id
*/
public void setId(int id){
this.id = id;
}
/** 取得文章所属栏目Id
* @return 文章所属栏目Id
*/
public int getBigclassid() {
return bigclassid;
}
/** 设置文章所属栏目Id
* @param bigclassid 文章所属栏目Id
*/
public void setBigclassid(int bigclassid) {
this.bigclassid = bigclassid;
}
/** 取得文章所属栏目名称
* @return 取得文章所属栏目名称
*/
public String getBigclass() {
return bigclass;
}
/** 设置文章所属栏目名称
* @param bigclass 文章所属栏目名称
*/
public void setBigclass(String bigclass) {
this.bigclass = bigclass;
}
/**
* @return 文章主标题
*/
public String getFirsttitle(){
return firsttitle;
}
/** 设置文章主标题
* @param firsttitle 文章主标题
*/
public void setFirsttitle(String firsttitle){
this.firsttitle = firsttitle;
}
/**
* @return 文章作者
*/
public String getAuthor(){
return author;
}
/** 设置文章作者
* @param author 文章作者
*/
public void setAuthor(String author){
this.author = author;
}
/**
* @return 文章第一次录入时间
*/
public String getFdatetime(){
return fdatetime;
}
/** 设置文章第一次录入时间
* @param fdatetime 文章第一次录入时间
*/
public void setFdatetime(String fdatetime){
this.fdatetime = fdatetime;
}
/** 文章阅读次数
* @return 文章阅读次数
*/
public int getReadtimes(){
return readtimes;
}
/** 设置文章阅读次数
* @param readtimes 文章阅读次数
*/
public void setReadtimes(int readtimes){
this.readtimes = readtimes;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -