?? car.java
字號(hào):
package org.itfuture.www.vo;
import java.io.Serializable;
import org.itfuture.www.po.Item;
public class Car implements Serializable {
private Item item;
private Integer quantity;
public Car() {
}
public Car(Item item, Integer quantity) {
super();
this.item = item;
this.quantity = quantity;
}
public Item getItem() {
return item;
}
public void setItem(Item item) {
this.item = item;
}
public Integer getQuantity() {
return quantity;
}
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}
public void identity(){
quantity++;
}
public void addQuantity(Integer num){
this.quantity+= num;
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -