mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			433 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			433 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package repository
 | 
						|
 | 
						|
import (
 | 
						|
	"mayfly-go/internal/sys/domain/entity"
 | 
						|
	"mayfly-go/pkg/model"
 | 
						|
)
 | 
						|
 | 
						|
type Config interface {
 | 
						|
	GetPageList(condition *entity.Config, pageParam *model.PageParam, toEntity interface{}, orderBy ...string) *model.PageResult
 | 
						|
 | 
						|
	Insert(config *entity.Config)
 | 
						|
 | 
						|
	Update(config *entity.Config)
 | 
						|
 | 
						|
	GetConfig(config *entity.Config, cols ...string) error
 | 
						|
 | 
						|
	GetByCondition(condition *entity.Config, cols ...string) error
 | 
						|
}
 |