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

数据库编程

开发平台:

Java

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