feat:门店人员

This commit is contained in:
苏竹红
2025-07-22 15:57:39 +08:00
parent 2530881858
commit 6fad009386
13 changed files with 421 additions and 46 deletions

View File

@@ -0,0 +1,19 @@
package com.cool.store.dto.store;
import lombok.Data;
import java.util.List;
/**
* @Author suzhuhong
* @Date 2025/7/22 15:00
* @Version 1.0
*/
@Data
public class AuthStoreUserDTO {
private String storeId;
private String storeName;
private List<String> userIdList;
}

View File

@@ -0,0 +1,47 @@
package com.cool.store.dto.store;
import cn.hutool.core.util.StrUtil;
import lombok.Data;
import java.util.List;
/**
* @Author suzhuhong
* @Date 2025/7/22 15:04
* @Version 1.0
*/
@Data
public class StoreAreaDTO {
private String storeId;
private String storeName;
/**
* 门店所属区域的全部节点信息
*/
private String regionPath;
/**
* 门店挂靠的区域Id
*/
private String areaId;
/**
* 门店的挂挂靠的父节点区域ID
*/
private List<String> areaIdList;
/**
* 所属区域id
*/
private Long regionId;
private String storeStatus;
public List<String> getAreaIdList(){
return StrUtil.splitTrim(regionPath,"/");
}
}

View File

@@ -0,0 +1,21 @@
package com.cool.store.dto.store;
import lombok.Data;
/**
* @Author suzhuhong
* @Date 2025/7/22 14:42
* @Version 1.0
*/
@Data
public class StoreUserDTO {
private String userId;
private String userName;
private String mobile;
private String positionName;
}

View File

@@ -0,0 +1,23 @@
package com.cool.store.dto.store;
import lombok.Data;
import java.util.List;
/**
* @Author suzhuhong
* @Date 2025/7/22 14:41
* @Version 1.0
*/
@Data
public class StoreUserPositionDTO {
private String storeName;
private String storeId;
private String shopCode;
List<StoreUserDTO> userList;
}