From 2c5a0e133b64bb0a46b1419c48e9b62a4779e268 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期一, 09 十二月 2024 16:13:17 +0800
Subject: [PATCH] add: 供应商子账号
---
src/main/java/com/mzl/flower/dto/response/current/CurrentUserDTO.java | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/mzl/flower/dto/response/current/CurrentUserDTO.java b/src/main/java/com/mzl/flower/dto/response/current/CurrentUserDTO.java
index 7d12c3b..2a6a781 100644
--- a/src/main/java/com/mzl/flower/dto/response/current/CurrentUserDTO.java
+++ b/src/main/java/com/mzl/flower/dto/response/current/CurrentUserDTO.java
@@ -5,6 +5,7 @@
import com.mzl.flower.dto.response.partner.PartnerDTO;
import com.mzl.flower.dto.response.supplier.SupplierDTO;
import com.mzl.flower.dto.response.system.MenuTreeDTO;
+import com.mzl.flower.entity.supplier.SupplierSub;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -53,4 +54,14 @@
@ApiModelProperty(value = "当前积分")
private Integer currentPoint;
+
+ @ApiModelProperty(value = "是否总仓权限")
+ private Boolean mainWarehouse;
+
+ @ApiModelProperty(value = "是否是子供应商")
+ public Boolean isSubSupplier;
+
+ @ApiModelProperty(value = "子供应商信息")
+ private SupplierSub supplierSub;
+
}
--
Gitblit v1.9.3