Files
mayfly-go/server/sys/domain/repository/account.go

14 lines
344 B
Go
Raw Normal View History

package repository
import (
"mayfly-go/base/model"
"mayfly-go/server/sys/domain/entity"
)
type Account interface {
// 根据条件获取账号信息
GetAccount(condition *entity.Account, cols ...string) error
GetPageList(condition *entity.Account, pageParam *model.PageParam, toEntity interface{}, orderBy ...string) model.PageResult
}