mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			441 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			441 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package repository
 | 
						|
 | 
						|
import (
 | 
						|
	"mayfly-go/internal/project/domain/entity"
 | 
						|
	"mayfly-go/pkg/model"
 | 
						|
)
 | 
						|
 | 
						|
type Project interface {
 | 
						|
	GetPageList(condition *entity.Project, pageParam *model.PageParam, toEntity interface{}, orderBy ...string) *model.PageResult
 | 
						|
 | 
						|
	Count(condition *entity.Project) int64
 | 
						|
 | 
						|
	GetByIdIn(ids []uint64, toEntity interface{}, orderBy ...string)
 | 
						|
 | 
						|
	Save(p *entity.Project)
 | 
						|
 | 
						|
	Update(project *entity.Project)
 | 
						|
 | 
						|
	Delete(id uint64)
 | 
						|
}
 |