feat:门店人员
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
@@ -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,"/");
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user