feat: Role 增删改查

This commit is contained in:
Blizzard
2025-05-11 22:54:11 +08:00
parent ab51ba91bc
commit 2ec091bf59
9 changed files with 194 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
package request
import common "sundynix-go/model/commom/request"
type GetRoleList struct {
common.PageInfo
Code string `json:"code" form:"code"`
Name string `json:"name" form:"name"`
}
+10
View File
@@ -0,0 +1,10 @@
package system
import "sundynix-go/global"
type Role struct {
global.BaseModel
Name string `json:"name" form:"name"`
Code string `json:"code" form:"code"`
Sort int `json:"sort" form:"sort"`
}