package v1

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

	"kami/api/commonApi"
)

type TenantListReq struct {
	g.Meta `path:"/auth/tenant/getList" tags:"用户信息" method:"get" summary:"获取用户信息"`
	commonApi.CommonPageReq
}

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

type TenantCreateReq struct {
	g.Meta `path:"/auth/tenant/create" tags:"用户信息" method:"post" summary:"创建用户信息"`
}

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

type TenantUpdateReq struct {
	g.Meta `path:"/auth/tenant/update" tags:"用户信息" method:"post" summary:"修改用户信息"`
	commonApi.CommonIntId
}

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

type TenantDeleteReq struct {
	g.Meta `path:"/auth/tenant/delete" tags:"用户信息" method:"delete" summary:"删除用户信息"`
	commonApi.CommonIntId
}

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