order.java
上传用户:tanyanyong
上传日期:2013-06-23
资源大小:1355k
文件大小:3k
源码类别:

电子政务应用

开发平台:

MultiPlatform

  1. package bookshop.book;
  2. /**
  3.  * <p>订单类 </p>
  4.  */
  5. public class order {
  6.         private long Id; //ID序列号
  7.         private String orderId;         //订单编号
  8.         private long UserId; //用户序列号
  9.         private String SubmitTime; //提交订单时间
  10.         private String ConsignmentTime;         //交货时间
  11.         private float TotalPrice; //总金额
  12.         private String content;         //用户备注
  13.         private String IPAddress; //下单时IP
  14.         private boolean IsPayoff; //用户是否已付款
  15.         private boolean IsSales; //是否已发货
  16.         public order() {
  17.                 Id = 0;
  18.                 orderId = "";
  19.                 UserId = 0;
  20.                 SubmitTime = "";
  21.                 ConsignmentTime = "";
  22.                 TotalPrice = 0;
  23.                 content = "";
  24.                 IPAddress = "";
  25.                 IsPayoff = false;
  26.                 IsSales = false;
  27.         }
  28.         public long getId() {
  29.                 return Id;
  30.         }
  31.         public void setId(long newId){
  32.                 this.Id = newId;
  33.         }
  34.         public String getOrderId() {
  35.                 return orderId;
  36.         }
  37.         public void setOrderId(String neworderId) {
  38.                 this.orderId = neworderId;
  39.         }
  40.         public long getUserId() {
  41.                 return UserId;
  42.         }
  43.         public void setUserId(long newUserId){
  44.                 this.UserId = newUserId;
  45.         }
  46.         public String getSubmitTime() {
  47.                 return SubmitTime;
  48.         }
  49.         public void setSubmitTime(String newSubmitTime) {
  50.                 this.SubmitTime = newSubmitTime;
  51.         }
  52.         public String getConsignmentTime() {
  53.                 return ConsignmentTime;
  54.         }
  55.         public void setConsignmentTime(String con_time) {
  56.                 ConsignmentTime = con_time;
  57.         }
  58.         public float getTotalPrice() {
  59.                 return TotalPrice;
  60.         }
  61.         public void setTotalPrice(float newTotalPrice){
  62.                 this.TotalPrice = newTotalPrice;
  63.         }
  64.         public String getContent() {
  65.                 return content;
  66.         }
  67.         public void setContent(String newContent) {
  68.                 this.content = newContent;
  69.         }
  70.         public String getIPAddress() {
  71.                 return IPAddress;
  72.         }
  73.         public void setIPAddress(String newIPAddress) {
  74.                 this.IPAddress = newIPAddress;
  75.         }
  76.         public boolean getIsPayoff() {
  77.                 return IsPayoff;
  78.         }
  79.         public void setIsPayoff(boolean newIsPayoff){
  80.                 this.IsPayoff = newIsPayoff;
  81.         }
  82.         public boolean getIsSales() {
  83.                 return IsSales;
  84.         }
  85.         public void setIsSales(boolean newIsSales){
  86.                 this.IsSales = newIsSales;
  87.         }
  88. }