shopcar.java
来自「在线购物 商品管理 用户管理 购物车 订单管理 权限控制」· Java 代码 · 共 67 行
JAVA
67 行
/**
*
*/
package com.qrsx.shop.model;
/**
*@Author:李世海
*@Address:青岛软件园
*@Date: Mar 31, 2009
*/
public class ShopCar {
private Integer id; //主键
private Integer userId; //用户编号
private Integer bookId; //图书编号
private Book book;
/**
* @return the id
*/
public Integer getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(Integer id) {
this.id = id;
}
/**
* @return the userId
*/
public Integer getUserId() {
return userId;
}
/**
* @param userId the userId to set
*/
public void setUserId(Integer userId) {
this.userId = userId;
}
/**
* @return the bookId
*/
public Integer getBookId() {
return bookId;
}
/**
* @param bookId the bookId to set
*/
public void setBookId(Integer bookId) {
this.bookId = bookId;
}
/**
* @return the book
*/
public Book getBook() {
return book;
}
/**
* @param book the book to set
*/
public void setBook(Book book) {
this.book = book;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?