mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-12 12:20:25 +08:00
17 lines
378 B
Go
17 lines
378 B
Go
|
|
package repository
|
||
|
|
|
||
|
|
import (
|
||
|
|
"mayfly-go/base/model"
|
||
|
|
"mayfly-go/server/devops/domain/entity"
|
||
|
|
)
|
||
|
|
|
||
|
|
type Project interface {
|
||
|
|
GetPageList(condition *entity.Project, pageParam *model.PageParam, toEntity interface{}, orderBy ...string) *model.PageResult
|
||
|
|
|
||
|
|
GetByIdIn(ids []uint64, toEntity interface{}, orderBy ...string)
|
||
|
|
|
||
|
|
Save(p *entity.Project)
|
||
|
|
|
||
|
|
Update(project *entity.Project)
|
||
|
|
}
|