⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 articlebean.java

📁 我的博客
💻 JAVA
字号:
package com.yxq.valuebean;

public class ArticleBean {
	private int id=-1;
	private int typeId=-1;
	private String title="";
	private String content="";
	private String sdTime="";
	private String create="";
	private String info="";
	private int review=0;
	private int count=0;	
	
	public String getCreate() {
		return create;
	}
	public void setCreate(String create) {
		this.create = create;
	}
	public String getContent() {
		return content;
	}
	public String getContent(int len){
		if(len<=0||len>content.length())
			len=content.length();
		return content.substring(0,len)+"...";
	}
	public int getReview() {
		return review;
	}
	public void setReview(int review) {
		this.review = review;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public String getSdTime() {
		return sdTime;
	}
	public void setSdTime(String sdTime) {
		this.sdTime = sdTime;
	}
	public String getTitle() {
		return title;
	}
	public String getTitle(int len){
		if(len<=0||len>title.length())
			len=title.length();
		return title.substring(0,len)+"...";
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public int getTypeId() {
		return typeId;
	}
	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -