From f4a6d4f0996238f9c85e4986deffe69a1c8256e6 Mon Sep 17 00:00:00 2001 From: lmw <125975490@qq.com> Date: 星期三, 04 九月 2024 20:47:58 +0800 Subject: [PATCH] 员工流程 --- app/src/main/java/com/lotaai/canguiayw/sqllitedb/Order.java | 34 ++++++++++++++++++++++++++++++---- 1 files changed, 30 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..fa57771 100644 --- a/app/src/main/java/com/lotaai/canguiayw/sqllitedb/Order.java +++ b/app/src/main/java/com/lotaai/canguiayw/sqllitedb/Order.java @@ -11,22 +11,31 @@ @Id(autoincrement = true) private Long id; @Unique + private String orderId; + @Unique private String orderNo; @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 = 295152111) + public Order(Long id, String orderId, String orderNo, @NotNull String gridNo, + @NotNull String xuHao, int state, String putInDate, String takeCode, + String createTime) { this.id = id; + this.orderId = orderId; 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() { @@ -36,6 +45,12 @@ } public void setId(Long id) { this.id = id; + } + public String getOrderId() { + return this.orderId; + } + public void setOrderId(String orderId) { + this.orderId = orderId; } public String getOrderNo() { return this.orderNo; @@ -48,6 +63,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 +88,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