2023-07-20 22:41:13 +08:00
|
|
|
package repository
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"mayfly-go/internal/machine/domain/entity"
|
2023-10-26 17:15:49 +08:00
|
|
|
"mayfly-go/pkg/base"
|
2023-07-20 22:41:13 +08:00
|
|
|
"mayfly-go/pkg/model"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type MachineCronJob interface {
|
2023-10-26 17:15:49 +08:00
|
|
|
base.Repo[*entity.MachineCronJob]
|
2023-07-20 22:41:13 +08:00
|
|
|
|
2023-10-26 17:15:49 +08:00
|
|
|
GetPageList(condition *entity.MachineCronJob, pageParam *model.PageParam, toEntity any, orderBy ...string) (*model.PageResult[any], error)
|
2023-07-20 22:41:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type MachineCronJobExec interface {
|
2023-10-26 17:15:49 +08:00
|
|
|
base.Repo[*entity.MachineCronJobExec]
|
2023-07-20 22:41:13 +08:00
|
|
|
|
2023-10-26 17:15:49 +08:00
|
|
|
GetPageList(condition *entity.MachineCronJobExec, pageParam *model.PageParam, toEntity any, orderBy ...string) (*model.PageResult[any], error)
|
2023-07-20 22:41:13 +08:00
|
|
|
}
|