// ================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================

package service

import (
	"context"
	"kami/internal/model"
	"kami/internal/model/entity"
)

type (
	IRoadPool interface {
		GetSimpleAll(ctx context.Context) (data []model.RoadPoolSimpleInfo, err error)
		GetDetailByCode(ctx context.Context, code string) (data *entity.V1RoadPoolInfo, err error)
	}
)

var (
	localRoadPool IRoadPool
)

func RoadPool() IRoadPool {
	if localRoadPool == nil {
		panic("implement not found for interface IRoadPool, forgot register?")
	}
	return localRoadPool
}

func RegisterRoadPool(i IRoadPool) {
	localRoadPool = i
}
