From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期一, 09 六月 2025 11:54:00 +0800
Subject: [PATCH] 6.9新增登录失败冻结逻辑

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopGoodsDO.java |   70 ++++++++++++++++++++--------------
 1 files changed, 41 insertions(+), 29 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..43da3e5 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
@@ -1,12 +1,12 @@
 package com.panzhihua.service_community.model.dos;
 
-import com.baomidou.mybatisplus.annotation.*;
-import lombok.Data;
-
 import java.io.Serializable;
 import java.math.BigDecimal;
 import java.util.Date;
 
+import com.baomidou.mybatisplus.annotation.*;
+
+import lombok.Data;
 
 /**
  * @auther lyq
@@ -23,7 +23,7 @@
     /**
      * 商品id
      */
-    @TableId(type = IdType.AUTO)
+    @TableId(type = IdType.ASSIGN_ID)
     private Long id;
 
     /**
@@ -34,6 +34,7 @@
     /**
      * 商品名称
      */
+    @TableField("`name`")
     private String name;
 
     /**
@@ -52,8 +53,9 @@
     private String images;
 
     /**
-     * 商品状态(1.出售中  2.已下架  3.回收站)
+     * 商品状态(1.出售中 2.已下架 3.回收站)
      */
+    @TableField("`status`")
     private Integer status;
 
     /**
@@ -79,6 +81,7 @@
     /**
      * 商品排序
      */
+    @TableField("`order`")
     private Integer order;
 
     /**
@@ -102,12 +105,12 @@
     private String goodsDescribe;
 
     /**
-     * 配送方式(1.商家配送  2.快递物流)
+     * 配送方式(1.商家配送 2.快递物流)
      */
     private Integer deliveryType;
 
     /**
-     * 删除状态(1.未删除  2.已删除)
+     * 删除状态(1.未删除 2.已删除)
      */
     private Integer deleteStatus;
 
@@ -125,27 +128,36 @@
 
     @Override
     public String toString() {
-        return "ComShopGoodsDO{" +
-                "id=" + id +
-                ", typeId=" + typeId +
-                ", name=" + name +
-                ", storeId=" + storeId +
-                ", goodsPic=" + goodsPic +
-                ", images=" + images +
-                ", status=" + status +
-                ", sale=" + sale +
-                ", originalPrice=" + originalPrice +
-                ", price=" + price +
-                ", unit=" + unit +
-                ", order=" + order +
-                ", stock=" + stock +
-                ", details=" + details +
-                ", remark=" + remark +
-                ", goodsDescribe=" + goodsDescribe +
-                ", deliveryType=" + deliveryType +
-                ", deleteStatus=" + deleteStatus +
-                ", createAt=" + createAt +
-                ", updateAt=" + updateAt +
-                "}";
+        return "ComShopGoodsDO{" + "id=" + id + ", typeId=" + typeId + ", name=" + name + ", storeId=" + storeId
+            + ", goodsPic=" + goodsPic + ", images=" + images + ", status=" + status + ", sale=" + sale
+            + ", originalPrice=" + originalPrice + ", price=" + price + ", unit=" + unit + ", order=" + order
+            + ", stock=" + stock + ", details=" + details + ", remark=" + remark + ", goodsDescribe=" + goodsDescribe
+            + ", deliveryType=" + deliveryType + ", deleteStatus=" + deleteStatus + ", createAt=" + createAt
+            + ", updateAt=" + 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;
     }
 }
\ No newline at end of file

--
Gitblit v1.7.1