mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-01-31 00:38:37 +08:00
33 lines
1.1 KiB
Go
33 lines
1.1 KiB
Go
// ==========================================================================
|
|
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
|
// ==========================================================================
|
|
|
|
package service
|
|
|
|
import (
|
|
"context"
|
|
"hotgo/internal/model/input/sysin"
|
|
)
|
|
|
|
type ISysProvinces interface {
|
|
Delete(ctx context.Context, in sysin.ProvincesDeleteInp) error
|
|
Edit(ctx context.Context, in sysin.ProvincesEditInp) (err error)
|
|
Status(ctx context.Context, in sysin.ProvincesStatusInp) (err error)
|
|
MaxSort(ctx context.Context, in sysin.ProvincesMaxSortInp) (*sysin.ProvincesMaxSortModel, error)
|
|
View(ctx context.Context, in sysin.ProvincesViewInp) (res *sysin.ProvincesViewModel, err error)
|
|
List(ctx context.Context, in sysin.ProvincesListInp) (list []*sysin.ProvincesListModel, totalCount int, err error)
|
|
}
|
|
|
|
var localSysProvinces ISysProvinces
|
|
|
|
func SysProvinces() ISysProvinces {
|
|
if localSysProvinces == nil {
|
|
panic("implement not found for interface ISysProvinces, forgot register?")
|
|
}
|
|
return localSysProvinces
|
|
}
|
|
|
|
func RegisterSysProvinces(i ISysProvinces) {
|
|
localSysProvinces = i
|
|
}
|