📄 newstype.java
字号:
package com.javaBean;
/**
* 这是一个新闻类别表的数据javaBean
* 专门用来存储新闻类别表字段的数据
* @author ACCP
*
*/
public class NewsType {
private int ntid; //新闻类别ID
private String ntname; //新闻类别名称
private String ntpicture; //新闻类别图片
public NewsType() {
super();
}
public NewsType(int ntid) {
super();
this.ntid = ntid;
}
public NewsType(String ntname, String ntpicture) {
super();
this.ntname = ntname;
this.ntpicture = ntpicture;
}
public NewsType(int ntid, String ntname, String ntpicture) {
super();
this.ntid = ntid;
this.ntname = ntname;
this.ntpicture = ntpicture;
}
public int getNtid() {
return ntid;
}
public void setNtid(int ntid) {
this.ntid = ntid;
}
public String getNtname() {
return ntname;
}
public void setNtname(String ntname) {
this.ntname = ntname;
}
public String getNtpicture() {
return ntpicture;
}
public void setNtpicture(String ntpicture) {
this.ntpicture = ntpicture;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -