mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
13 lines
266 B
Go
13 lines
266 B
Go
|
|
package repository
|
||
|
|
|
||
|
|
import (
|
||
|
|
"mayfly-go/base/model"
|
||
|
|
"mayfly-go/server/sys/domain/entity"
|
||
|
|
)
|
||
|
|
|
||
|
|
type Msg interface {
|
||
|
|
GetPageList(condition *entity.Msg, pageParam *model.PageParam, toEntity interface{}, orderBy ...string) *model.PageResult
|
||
|
|
|
||
|
|
Insert(msg *entity.Msg)
|
||
|
|
}
|