From cca5f79b3af36e5a908c5dfecbd30110febe3baa Mon Sep 17 00:00:00 2001
From: 陈力 <chenli@lotaai.com>
Date: 星期五, 09 六月 2023 20:58:09 +0800
Subject: [PATCH] 增加mqtt

---
 app/src/main/java/com/lotaai/canguiayw/sqllitedb/Order.java |   25 +++++++++++++++++++++----
 1 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/app/src/main/java/com/lotaai/canguiayw/sqllitedb/Order.java b/app/src/main/java/com/lotaai/canguiayw/sqllitedb/Order.java
index 2b5fe16..958c31c 100644
--- a/app/src/main/java/com/lotaai/canguiayw/sqllitedb/Order.java
+++ b/app/src/main/java/com/lotaai/canguiayw/sqllitedb/Order.java
@@ -15,18 +15,24 @@
     @NotNull
     private String gridNo;
     @NotNull
+    private String xuHao;
+    @NotNull
     private int state;//状态;0-未存餐 1-已存餐 2-已取餐 3-取消
     private String putInDate;
     private String takeCode;
-    @Generated(hash = 878135649)
-    public Order(Long id, String orderNo, @NotNull String gridNo, int state,
-            String putInDate, String takeCode) {
+    private String createTime;
+    @Generated(hash = 1824136278)
+    public Order(Long id, String orderNo, @NotNull String gridNo,
+            @NotNull String xuHao, int state, String putInDate, String takeCode,
+            String createTime) {
         this.id = id;
         this.orderNo = orderNo;
         this.gridNo = gridNo;
+        this.xuHao = xuHao;
         this.state = state;
         this.putInDate = putInDate;
         this.takeCode = takeCode;
+        this.createTime = createTime;
     }
     @Generated(hash = 1105174599)
     public Order() {
@@ -49,6 +55,12 @@
     public void setGridNo(String gridNo) {
         this.gridNo = gridNo;
     }
+    public String getXuHao() {
+        return this.xuHao;
+    }
+    public void setXuHao(String xuHao) {
+        this.xuHao = xuHao;
+    }
     public int getState() {
         return this.state;
     }
@@ -67,5 +79,10 @@
     public void setTakeCode(String takeCode) {
         this.takeCode = takeCode;
     }
-
+    public String getCreateTime() {
+        return this.createTime;
+    }
+    public void setCreateTime(String createTime) {
+        this.createTime = createTime;
+    }
     }

--
Gitblit v1.7.1