zky_mandate/internal/app/system/model/sys_role_scope.go

23 lines
484 B
Go

/*
* @desc:xxxx功能描述
* @company:云南奇讯科技有限公司
* @Author: yixiaohu<yxh669@qq.com>
* @Date: 2024/3/26 10:24
*/
package model
type ScopeAuthDataReq struct {
MenuId uint `p:"menuId"`
Scope int `p:"scope"`
DeptIds []uint64 `p:"deptIds"`
}
type ScopeAuthData struct {
Id uint64 `json:"id"`
RoleId uint `json:"roleId"`
MenuId uint `json:"menuId"`
DataScope int `json:"dataScope"`
DeptIds []int64 `json:"deptIds"`
}