affice.java

来自「一个jsp+servlet+mysql自动化办公系统」· Java 代码 · 共 67 行

JAVA
67
字号
package oa.data;
import oa.sys.*;
/**
 ****************************************************
 *类名称:	Affice<br>
 *类功能:	公告(类型)<br>
 ****************************************************
*/
public class Affice {
	private int id; 
	private String title;
	private String time;
	private int emid;
	private String content;
	private String affix;
	

	public Affice() {
		super();
		id=0;
		title="";
		time=new Time().getYMD();
		emid=0;
		content="";
		affix="";
	}

	public void setId(int id){
		this.id=id;
	}
	public int getId(){
		return id;
	}
	public void setTitle(String title){
		this.title=title;
	}
	public String getTitle(){
		return title;
	}
	public void setTime(String time){
		this.time=time;
	}
	public String getTime(){
		return time;
	}
	public void setEmid(int emid){
		this.emid=emid;
	}
	public int getEmid(){
		return emid;
	}
	public void setContent(String content){
		this.content=content;
	}
	public String getContent(){
		return content;
	}

	public String getAffix() {
		return affix;
	}

	public void setAffix(String affix) {
		this.affix = affix;
	}
}

⌨️ 快捷键说明

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