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

📄 newst.java

📁 新闻管理系统实现对新闻添加修改删除外挂了一个用户的注册还有一个外挂的投票
💻 JAVA
字号:
package com.vsked.javaBean;

import java.util.Date;

//新闻
public class Newst {
	private int newsid;//编号
	private String newstitle;//标题
	private String authors; //作者
	private String newsbody; //内容
	private Date newdate; //创建时间
	private int typeid;//类别编号
	private String typename;//类型名称
	
	public String getAuthors() {
		return authors;
	}
	public void setAuthors(String authors) {
		this.authors = authors;
	}
	public Date getNewdate() {
		return newdate;
	}
	public void setNewdate(Date newdate) {
		this.newdate = newdate;
	}
	public String getNewsbody() {
		return newsbody;
	}
	public void setNewsbody(String newsbody) {
		this.newsbody = newsbody;
	}
	public int getNewsid() {
		return newsid;
	}
	public void setNewsid(int newsid) {
		this.newsid = newsid;
	}
	public String getNewstitle() {
		return newstitle;
	}
	public void setNewstitle(String newstitle) {
		this.newstitle = newstitle;
	}
	public int getTypeid() {
		return typeid;
	}
	public void setTypeid(int typeid) {
		this.typeid = typeid;
	}	
	public String getTypename() {
		return typename;
	}
	public void setTypename(String typename) {
		this.typename = typename;
	}
	public Newst() {
		
	}	
	public Newst(String newstitle, String authors, String newsbody,int typeid) {
		super();
		this.newstitle = newstitle;
		this.authors = authors;
		this.newsbody = newsbody;	
		this.typeid = typeid;
	}
	public Newst(int newsid, String newstitle, String authors, String newsbody, Date newdate, int typeid) {
		super();
		this.newsid = newsid;
		this.newstitle = newstitle;
		this.authors = authors;
		this.newsbody = newsbody;
		this.newdate = newdate;
		this.typeid = typeid;
	}	
	public Newst(int newsid, String newstitle, String authors, String newsbody, int typeid) {
		super();
		this.newsid = newsid;
		this.newstitle = newstitle;
		this.authors = authors;
		this.newsbody = newsbody;
		this.typeid = typeid;
	}
	public Newst(int newsid, String newstitle, String authors, String newsbody, Date newdate, String typename) {
		super();
		this.newsid = newsid;
		this.newstitle = newstitle;
		this.authors = authors;
		this.newsbody = newsbody;
		this.newdate = newdate;
		this.typename = typename;
	}
	

}

⌨️ 快捷键说明

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