package v1

import (
	"github.com/gogf/gf/v2/frame/g"

	"kami/api/commonApi"
)

type RoleListReq struct {
	g.Meta `path:"/auth/role/getList" tags:"角色信息" method:"get" summary:"获取角色信息"`
	commonApi.CommonPageReq
}

type RoleListRes struct {
	g.Meta `json:"application/json"`
}

type RoleCreateReq struct {
	g.Meta `path:"/auth/role/create" tags:"角色信息" method:"post" summary:"创建角色信息"`
}

type RoleCreateRes struct {
	g.Meta `json:"application/json"`
}

type RoleUpdateReq struct {
	g.Meta `path:"/auth/role/update" tags:"角色信息" method:"post" summary:"修改角色信息"`
	commonApi.CommonIntId
}

type RoleUpdateRes struct {
	g.Meta `json:"application/json"`
}

type RoleDeleteReq struct {
	g.Meta `path:"/auth/role/delete" tags:"角色信息" method:"delete" summary:"删除角色信息"`
	commonApi.CommonIntId
}

type RoleDeleteRes struct {
	g.Meta `json:"application/json"`
}
