From 57d98932c3820b60743699c890ff5cf45f3ca8a2 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期一, 01 八月 2022 18:00:06 +0800
Subject: [PATCH] bug修改
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopUserAddressDO.java | 44 +++++++++++++++++++++++---------------------
1 files changed, 23 insertions(+), 21 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopUserAddressDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopUserAddressDO.java
index 37f56e6..334386e 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopUserAddressDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopUserAddressDO.java
@@ -1,11 +1,11 @@
package com.panzhihua.service_community.model.dos;
-import com.baomidou.mybatisplus.annotation.*;
-import lombok.Data;
-
import java.io.Serializable;
import java.util.Date;
+import com.baomidou.mybatisplus.annotation.*;
+
+import lombok.Data;
/**
* @auther lyq
@@ -22,7 +22,7 @@
/**
* 主键id
*/
- @TableId(type = IdType.AUTO)
+ @TableId(type = IdType.ASSIGN_ID)
private Long id;
/**
@@ -76,9 +76,14 @@
private String detailAddress;
/**
- * 是否是默认地址(1.是 2.否)
+ * 是否是默认地址(1.是 2.否)
*/
private Integer isDefault;
+
+ /**
+ * 是否已删除(1.是 2.否)
+ */
+ private Integer deleteStatus;
/**
* 创建时间
@@ -94,21 +99,18 @@
@Override
public String toString() {
- return "ComShopUserAddressDO{" +
- "id=" + id +
- ", userId=" + userId +
- ", name=" + name +
- ", phone=" + phone +
- ", provinceCode=" + provinceCode +
- ", provinceName=" + provinceName +
- ", cityCode=" + cityCode +
- ", cityName=" + cityName +
- ", districtCode=" + districtCode +
- ", districtName=" + districtName +
- ", detailAddress=" + detailAddress +
- ", isDefault=" + isDefault +
- ", createAt=" + createAt +
- ", updateAt=" + updateAt +
- "}";
+ return "ComShopUserAddressDO{" + "id=" + id + ", userId=" + userId + ", name=" + name + ", phone=" + phone
+ + ", provinceCode=" + provinceCode + ", provinceName=" + provinceName + ", cityCode=" + cityCode
+ + ", cityName=" + cityName + ", districtCode=" + districtCode + ", districtName=" + districtName
+ + ", detailAddress=" + detailAddress + ", isDefault=" + isDefault + ", createAt=" + createAt + ", updateAt="
+ + updateAt + "}";
+ }
+
+ /**
+ * 是否是默认地址(1.是 2.否)
+ */
+ public interface isDefault {
+ int yes = 1;
+ int no = 2;
}
}
\ No newline at end of file
--
Gitblit v1.7.1