Files
mayfly-go/server/internal/flow/domain/repository/procinst.go
2024-02-29 22:12:50 +08:00

20 lines
525 B
Go

package repository
import (
"mayfly-go/internal/flow/domain/entity"
"mayfly-go/pkg/base"
"mayfly-go/pkg/model"
)
type Procinst interface {
base.Repo[*entity.Procinst]
GetPageList(condition *entity.ProcinstQuery, pageParam *model.PageParam, toEntity any, orderBy ...string) (*model.PageResult[any], error)
}
type ProcinstTask interface {
base.Repo[*entity.ProcinstTask]
GetPageList(condition *entity.ProcinstTaskQuery, pageParam *model.PageParam, toEntity any, orderBy ...string) (*model.PageResult[any], error)
}