📄 shopcartform.java
字号:
package org.y2t12.struts.form;
import org.apache.struts.action.ActionForm;
public class ShopCartForm extends ActionForm{
private int id;//书的id
private String title;//书的名字
private String descn;//描述
private float price;//价格
private String author;//作者
private int count;//购买数量
public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
public int getCount() {
return count;
}
public void setCount(int count) {
this.count = count;
}
public String getDescn() {
return descn;
}
public void setDescn(String descn) {
this.descn = descn;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public float getPrice() {
return price;
}
public void setPrice(float price) {
this.price = price;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -