shopcar.java
资源名称:bookshop.zip [点击查看]
上传用户:sxlinghang
上传日期:2022-07-20
资源大小:1405k
文件大小:0k
源码类别:
数据库编程
开发平台:
Java
- package bookshop.book;
- /**
- * <p>Title: </p>
- */
- public class shopcar {
- private long bookId; //图书ID编号
- private int quanlity; //选购数量
- public shopcar(){
- bookId = 0;
- quanlity = 0;
- }
- public long getBookId() {
- return bookId;
- }
- public void setBookId(long newbookId) {
- bookId = newbookId;
- }
- public long getQuality() {
- return quanlity;
- }
- public void setQuanlity(int newquanlity) {
- quanlity = newquanlity;
- }
- }