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
Click to show internal directories.
Click to hide internal directories.