?? cartitem.java
字號:
package com.ebook.Entity;/** * * @author 隆科 */public class cartItem { private int bookid; private String bookname; private int quantity; private String beforePrice; private String nowPrice; private double totalPrice; public String getBeforePrice() { return beforePrice;}public void setBeforePrice(String beforePrice) { this.beforePrice = beforePrice;}public int getBookid() { return bookid;}public void setBookid(int bookid) { this.bookid = bookid;}public String getBookname() { return bookname;}public void setBookname(String bookname) { this.bookname = bookname;}public String getNowPrice() { return nowPrice;}public void setNowPrice(String nowPrice) { this.nowPrice = nowPrice;}public int getQuantity() { return quantity;}public void setQuantity(int quantity) { this.quantity = quantity;}public double getTotalPrice() { return this.quantity*Integer.parseInt(this.nowPrice);}public void setTotalPrice(double totalPrice) { this.totalPrice = totalPrice;}}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -