?? 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 + -