📄 questionform.java
字号:
package struts.form;
import org.apache.struts.action.ActionForm;
public class QuestionForm extends ActionForm {
private String author=null;
private String title=null;
private String content=null;
private String type=null;
private String level=null;
private int look_count=0;
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public String getLevel() {
return level;
}
public void setLevel(String level) {
this.level = level;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author=author;
if(this.author=="")
this.author="匿名";
}
public int getLook_count() {
return look_count;
}
public void setLook_count(int look_count) {
this.look_count = look_count;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -