mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-02 23:40:24 +08:00
18 lines
414 B
Go
18 lines
414 B
Go
package repository
|
|
|
|
import (
|
|
"mayfly-go/internal/sys/domain/entity"
|
|
"mayfly-go/pkg/model"
|
|
)
|
|
|
|
type Account interface {
|
|
// 根据条件获取账号信息
|
|
GetAccount(condition *entity.Account, cols ...string) error
|
|
|
|
GetPageList(condition *entity.Account, pageParam *model.PageParam, toEntity interface{}, orderBy ...string) *model.PageResult
|
|
|
|
Insert(account *entity.Account)
|
|
|
|
Update(account *entity.Account)
|
|
}
|