资源简介
该系统使用JSP+Servlet技术,分前后台,数据库使用MySql,开发工具为MyEclipse,含代码和文档
代码片段和文件信息
package bean;
public class Cart {
private int cid;//序号
private int uid;//用户序号
private String username;//用户名
private int goodsId;//商品编号
private String goodsName;//商品名
private double price;//价格
private String color;//颜色
private String memory;//内存
private int number;//数量
private double total;//总额
public Cart() {
super();
}
public Cart(int cid int uid String username int goodsId String goodsName
double price String color String memory int number double total) {
super();
this.cid = cid;
this.uid = uid;
this.username = username;
this.goodsId = goodsId;
this.goodsName = goodsName;
this.price = price;
this.color = color;
this.memory = memory;
this.number = number;
this.total = total;
}
public Cart(String username int goodsId String goodsName
double price String color String memory int number double total) {
super();
this.username = username;
this.goodsId = goodsId;
this.goodsName = goodsName;
this.price = price;
this.color = color;
this.memory = memory;
this.number = number;
this.total = total;
}
public double getTotal() {
return total;
}
public void setTotal(double total) {
this.total = total;
}
public int getUid() {
return uid;
}
public void setUid(int uid) {
this.uid = uid;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getGoodsName() {
return goodsName;
}
public void setGoodsName(String goodsName) {
this.goodsName = goodsName;
}
public double getPrice() {
return price;
}
public void setPrice(double price) {
this.price = price;
}
public String getColor() {
return color;
}
public void setColor(String color) {
this.color = color;
}
public String getMemory() {
return memory;
}
public void setMemory(String memory) {
this.memory = memory;
}
public int getCid() {
return cid;
}
public void setCid(int cid) {
this.cid = cid;
}
public int getGoodsId() {
return goodsId;
}
public void setGoodsId(int goodsId) {
this.goodsId = goodsId;
}
public int getNumber() {
return number;
}
public void setNumber(int number) {
this.number = number;
}
@Override
public String toString() {
return “Cart [cid=“ + cid + “ color=“ + color + “ goodsId=“ + goodsId
+ “ goodsName=“ + goodsName + “ memory=“ + memory
+ “ number=“ + number + “ price=“ + price + “ total=“
+ total + “ uid=“ + uid + “ username=“ + username + “]“;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1005 2015-05-07 20:43 phone\.classpath
文件 288 2015-05-09 16:58 phone\.myme
文件 1411 2015-01-22 21:14 phone\.project
文件 500 2015-01-22 16:17 phone\.settings\.jsdtscope
文件 330 2015-01-22 16:17 phone\.settings\org.eclipse.jdt.core.prefs
文件 49 2015-01-22 16:17 phone\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2015-01-22 16:17 phone\.settings\org.eclipse.wst.jsdt.ui.superType.name
文件 12292 2015-03-19 21:03 phone\phoneSell.sql
文件 2693 2015-02-09 23:27 phone\src\bean\Cart.java
文件 4895 2015-05-09 17:08 phone\src\bean\Goods.java
文件 2841 2015-03-25 22:01 phone\src\bean\Order.java
文件 1965 2015-03-21 17:38 phone\src\bean\User.java
文件 4144 2015-04-26 10:58 phone\src\dao\CartImpl.java
文件 9582 2015-05-09 17:23 phone\src\dao\CommonImpl.java
文件 9075 2015-05-14 22:33 phone\src\dao\ManagerImpl.java
文件 2237 2015-03-25 21:58 phone\src\dao\OrderImpl.java
文件 3595 2015-04-23 21:13 phone\src\dao\UserImpl.java
文件 2369 2015-04-06 13:07 phone\src\servlet\AddGoodsServlet.java
文件 2339 2015-03-25 21:57 phone\src\servlet\AddOrderServlet.java
文件 1001 2015-05-07 20:51 phone\src\servlet\AddPictureServlet.java
文件 1571 2015-02-26 19:59 phone\src\servlet\CartServlet.java
文件 1513 2015-02-26 20:49 phone\src\servlet\CartServlet1.java
文件 1089 2015-02-11 11:23 phone\src\servlet\ClearCartServlet.java
文件 1106 2015-03-18 23:01 phone\src\servlet\DeleteGoodsServlet.java
文件 1622 2015-05-07 22:07 phone\src\servlet\DeletePhoneServlet.java
文件 1673 2015-02-16 23:38 phone\src\servlet\GoodsMessageServlet.java
文件 1908 2015-04-23 21:52 phone\src\servlet\LoginServlet.java
文件 1101 2015-03-24 21:44 phone\src\servlet\LogoutServlet.java
文件 1149 2015-03-17 22:56 phone\src\servlet\ManageGoodsServlet.java
文件 1452 2015-05-07 22:01 phone\src\servlet\MyOrderServlet.java
............此处省略325个文件信息
评论
共有 条评论