⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cartitem.java

📁 jsp+servlet网上购物,是一个实现mvc的网站
💻 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 + -