// Code generated by MockGen. DO NOT EDIT.
// Source: ./repo_ulid.go
//
// Generated by this command:
//
//	mockgen -source=./repo_ulid.go -destination ./dbmock/repo_ulid.go -package dbmock
//

// Package dbmock is a generated GoMock package.
package dbmock

import (
	context "context"
	sql "database/sql"
	reflect "reflect"

	cconstant "github.com/kweaver-ai/kweaver-core/decision-agent/agent-backend/agent-factory/src/infra/common/cconstant"
	gomock "go.uber.org/mock/gomock"
)

// MockUlidRepo is a mock of UlidRepo interface.
type MockUlidRepo struct {
	ctrl     *gomock.Controller
	recorder *MockUlidRepoMockRecorder
	isgomock struct{}
}

// MockUlidRepoMockRecorder is the mock recorder for MockUlidRepo.
type MockUlidRepoMockRecorder struct {
	mock *MockUlidRepo
}

// NewMockUlidRepo creates a new mock instance.
func NewMockUlidRepo(ctrl *gomock.Controller) *MockUlidRepo {
	mock := &MockUlidRepo{ctrl: ctrl}
	mock.recorder = &MockUlidRepoMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockUlidRepo) EXPECT() *MockUlidRepoMockRecorder {
	return m.recorder
}

// BatchGenDBID mocks base method.
func (m *MockUlidRepo) BatchGenDBID(ctx context.Context, tx *sql.Tx, num int) ([]string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "BatchGenDBID", ctx, tx, num)
	ret0, _ := ret[0].([]string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// BatchGenDBID indicates an expected call of BatchGenDBID.
func (mr *MockUlidRepoMockRecorder) BatchGenDBID(ctx, tx, num any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BatchGenDBID", reflect.TypeOf((*MockUlidRepo)(nil).BatchGenDBID), ctx, tx, num)
}

// DelUniqID mocks base method.
func (m *MockUlidRepo) DelUniqID(ctx context.Context, flag cconstant.UniqueIDFlag, id string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DelUniqID", ctx, flag, id)
	ret0, _ := ret[0].(error)
	return ret0
}

// DelUniqID indicates an expected call of DelUniqID.
func (mr *MockUlidRepoMockRecorder) DelUniqID(ctx, flag, id any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelUniqID", reflect.TypeOf((*MockUlidRepo)(nil).DelUniqID), ctx, flag, id)
}

// GenDBID mocks base method.
func (m *MockUlidRepo) GenDBID(ctx context.Context, tx *sql.Tx) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GenDBID", ctx, tx)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GenDBID indicates an expected call of GenDBID.
func (mr *MockUlidRepoMockRecorder) GenDBID(ctx, tx any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GenDBID", reflect.TypeOf((*MockUlidRepo)(nil).GenDBID), ctx, tx)
}

// GenUniqID mocks base method.
func (m *MockUlidRepo) GenUniqID(ctx context.Context, flag cconstant.UniqueIDFlag) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GenUniqID", ctx, flag)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GenUniqID indicates an expected call of GenUniqID.
func (mr *MockUlidRepoMockRecorder) GenUniqID(ctx, flag any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GenUniqID", reflect.TypeOf((*MockUlidRepo)(nil).GenUniqID), ctx, flag)
}
