From 2e64c232ab6b51b2cecf1ee96e1e9b709234f326 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期六, 21 八月 2021 16:35:14 +0800
Subject: [PATCH] 随手拍改版接口开发

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopGoodsDO.java |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopGoodsDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopGoodsDO.java
index 2a6e9a6..2fcd17a 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopGoodsDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopGoodsDO.java
@@ -34,6 +34,7 @@
     /**
      * 商品名称
      */
+    @TableField("`name`")
     private String name;
 
     /**
@@ -54,6 +55,7 @@
     /**
      * 商品状态(1.出售中  2.已下架  3.回收站)
      */
+    @TableField("`status`")
     private Integer status;
 
     /**
@@ -79,6 +81,7 @@
     /**
      * 商品排序
      */
+    @TableField("`order`")
     private Integer order;
 
     /**
@@ -123,6 +126,31 @@
     @TableField(fill = FieldFill.UPDATE)
     private Date updateAt;
 
+    /**
+     * 商品状态(1.出售中  2.已下架  3.回收站)
+     */
+    public interface status{
+        int sell = 1;
+        int lower = 2;
+        int recovery = 3;
+    }
+
+    /**
+     * 删除状态(1.未删除  2.已删除)
+     */
+    public interface deleteStatus{
+        int no = 1;
+        int yes = 2;
+    }
+
+    /**
+     * 配送方式(1.商家配送  2.快递物流)
+     */
+    public interface deliveryType{
+        int store = 1;
+        int express = 2;
+    }
+
     @Override
     public String toString() {
         return "ComShopGoodsDO{" +

--
Gitblit v1.7.1