// ================================================================================
// 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 (
	ISysLoginLog interface {
		Invoke(ctx context.Context, data *model.LoginLogParams)
		// QueryLoginLogs 查询登录日志列表
		QueryLoginLogs(ctx context.Context, input *model.LoginLogQueryInput) (total int, list []*entity.V1SysUserLoginLog, err error)
		// GetLoginLogDetail 获取登录日志详情
		GetLoginLogDetail(ctx context.Context, id uint) (res *entity.V1SysUserLoginLog, err error)
	}
)

var (
	localSysLoginLog ISysLoginLog
)

func SysLoginLog() ISysLoginLog {
	if localSysLoginLog == nil {
		panic("implement not found for interface ISysLoginLog, forgot register?")
	}
	return localSysLoginLog
}

func RegisterSysLoginLog(i ISysLoginLog) {
	localSysLoginLog = i
}
