📄 productform.java
字号:
package com.form;
import org.apache.struts.action.ActionForm;
import org.apache.struts.upload.FormFile;
public class ProductForm extends ActionForm {
/**
*
*/
private static final long serialVersionUID = 1L;
private FormFile imageFile;
private Integer id;
private String pname;
private String introduce;
private Float temperature;
private Float pressure;
private String imagepath;
public FormFile getImageFile() {
return imageFile;
}
public void setImageFile(FormFile imageFile) {
this.imageFile = imageFile;
}
public String getImagepath() {
return imagepath;
}
public void setImagepath(String imagepath) {
this.imagepath = imagepath;
}
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getPname() {
return this.pname;
}
public void setPname(String pname) {
this.pname = pname;
}
public String getIntroduce() {
return this.introduce;
}
public void setIntroduce(String introduce) {
this.introduce = introduce;
}
public Float getTemperature() {
return this.temperature;
}
public void setTemperature(Float temperature) {
this.temperature = temperature;
}
public Float getPressure() {
return this.pressure;
}
public void setPressure(Float pressure) {
this.pressure = pressure;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -