report_common

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReportRepo

type ReportRepo interface {
	AddReport(ctx context.Context, report *entity.Report) (err error)
	GetReportListPage(ctx context.Context, query *schema.GetReportListPageDTO) (
		reports []*entity.Report, total int64, err error)
	GetByID(ctx context.Context, id string) (report *entity.Report, exist bool, err error)
	UpdateStatus(ctx context.Context, id string, status int) (err error)
	GetReportCount(ctx context.Context) (count int64, err error)
}

ReportRepo report repository

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL