package admin

import (
	"blazing/cool"

	"blazing/modules/space/service"
)

type SpaceTypeController struct {
	*cool.Controller
}

func init() {
	var space_type_controller = &SpaceTypeController{
		&cool.Controller{
			Prefix:  "/admin/space/type",
			Api:     []string{"Add", "Delete", "Update", "Info", "List", "Page"},
			Service: service.NewSpaceTypeService(),
		},
	}
	// 注册路由
	cool.RegisterController(space_type_controller)
}
