mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 07:50:25 +08:00
19 lines
430 B
Go
19 lines
430 B
Go
package repository
|
|
|
|
import (
|
|
"mayfly-go/internal/sys/domain/entity"
|
|
"mayfly-go/pkg/model"
|
|
)
|
|
|
|
type Config interface {
|
|
GetPageList(condition *entity.Config, pageParam *model.PageParam, toEntity any, orderBy ...string) *model.PageResult[any]
|
|
|
|
Insert(config *entity.Config)
|
|
|
|
Update(config *entity.Config)
|
|
|
|
GetConfig(config *entity.Config, cols ...string) error
|
|
|
|
GetByCondition(condition *entity.Config, cols ...string) error
|
|
}
|