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/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