📄 bike.java
字号:
package ydh.bike;
import org.apache.struts.action.ActionForm;
// default package
import ydh.product.Product;
import ydh.user.User;
/**
* Bike generated by MyEclipse Persistence Tools
*/
public class Bike extends ActionForm implements java.io.Serializable {
// Fields
private Integer id;
private Float totalprice;
private Integer quantity;
private Product product;
private User user;
// Constructors
/** default constructor */
public Bike() {
}
/** full constructor */
public Bike(Float totalprice, Integer quantity) {
this.totalprice = totalprice;
this.quantity = quantity;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Float getTotalprice() {
return this.totalprice;
}
public void setTotalprice(Float totalprice) {
this.totalprice = totalprice;
}
public Integer getQuantity() {
return this.quantity;
}
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}
public Product getProduct() {
return product;
}
public void setProduct(Product product) {
this.product = product;
}
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -