?? newst.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 + -