mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-02 23:40:24 +08:00
20 lines
554 B
Go
20 lines
554 B
Go
package repository
|
|
|
|
import (
|
|
"mayfly-go/internal/machine/domain/entity"
|
|
"mayfly-go/pkg/base"
|
|
"mayfly-go/pkg/model"
|
|
)
|
|
|
|
type MachineCronJob interface {
|
|
base.Repo[*entity.MachineCronJob]
|
|
|
|
GetPageList(condition *entity.MachineCronJob, pageParam *model.PageParam, toEntity any, orderBy ...string) (*model.PageResult[any], error)
|
|
}
|
|
|
|
type MachineCronJobExec interface {
|
|
base.Repo[*entity.MachineCronJobExec]
|
|
|
|
GetPageList(condition *entity.MachineCronJobExec, pageParam *model.PageParam, toEntity any, orderBy ...string) (*model.PageResult[any], error)
|
|
}
|