allorder.java~2~
上传用户:sxlinghang
上传日期:2022-07-20
资源大小:1405k
文件大小:1k
源码类别:

数据库编程

开发平台:

Java

  1. package bookshop.book;
  2. /**
  3.  * <p>Title: </p>
  4.  * <p>Description: </p>
  5.  * <p>Copyright: Copyright (c) 2004</p>
  6.  * <p>Company: </p>
  7.  * @author not attributable
  8.  * @version 1.0
  9.  */
  10. public class allorder {
  11.         private long Id; //ID序列号
  12.         private long orderId; //订单号表序列号
  13.         private long BookNo; //图书表序列号
  14.         private int Amount; //订货数量
  15.         public allorder() {
  16.                 Id = 0;
  17.                 orderId = 0;
  18.                 BookNo = 0;
  19.                 Amount = 0;
  20.         }
  21.         public long getId() {
  22.                 return Id;
  23.         }
  24.         public void setId(long newId) {
  25.                 this.Id = newId;
  26.         }
  27.         public long getOrderId() {
  28.                 return orderId;
  29.         }
  30.         public void setOrderId(long orderId) {
  31.                 this.orderId = orderId;
  32.         }
  33.         public long getBookNo() {
  34.                 return BookNo;
  35.         }
  36.         public void setBookNo(long newBookNo) {
  37.                 this.BookNo = newBookNo;
  38.         }
  39.         public int getAmount() {
  40.                 return Amount;
  41.         }
  42.         public void setAmount(int newAmount) {
  43.                 this.Amount = newAmount;
  44.         }
  45. }