实现了门店员工、员工角色的接口开发

This commit is contained in:
2025-06-12 17:13:25 +08:00
parent fac2bd41b3
commit 80b1aa9b91
46 changed files with 1196 additions and 25 deletions

View File

@ -0,0 +1,44 @@
package model
type StoreRoleCreateIn struct {
StoreId int64
Name string
}
type StoreRoleCreateOut struct {
Id int64 `json:"id"`
}
type StoreRoleUpdateIn struct {
Id int64
StoreID int64
Name string
}
type StoreRoleUpdateOut struct {
Success bool `json:"success"`
}
type StoreRoleDeleteIn struct {
Id int64
}
type StoreRoleDeleteOut struct {
Success bool `json:"success"`
}
type StoreRoleListIn struct {
StoreId int64
Page int
Size int
}
type StoreRoleListItem struct {
Id int64 `json:"id"`
StoreID int64 `json:"storeId"`
Name string `json:"name"`
}
type StoreRoleListOut struct {
Total int `json:"total"`
List []StoreRoleListItem `json:"list"`
}