2021-06-07 17:22:07 +08:00
|
|
|
package repository
|
|
|
|
|
|
|
|
|
|
import (
|
2022-06-02 17:41:11 +08:00
|
|
|
"mayfly-go/internal/sys/domain/entity"
|
2023-10-26 17:15:49 +08:00
|
|
|
"mayfly-go/pkg/base"
|
2022-06-02 17:41:11 +08:00
|
|
|
"mayfly-go/pkg/model"
|
2021-06-07 17:22:07 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type Account interface {
|
2023-10-26 17:15:49 +08:00
|
|
|
base.Repo[*entity.Account]
|
2021-06-07 17:22:07 +08:00
|
|
|
|
2024-02-29 22:12:50 +08:00
|
|
|
GetPageList(condition *entity.AccountQuery, pageParam *model.PageParam, toEntity any, orderBy ...string) (*model.PageResult[any], error)
|
2021-06-07 17:22:07 +08:00
|
|
|
}
|