mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 00:10:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			491 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			491 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package repository
 | 
						|
 | 
						|
import (
 | 
						|
	"mayfly-go/internal/machine/domain/entity"
 | 
						|
	"mayfly-go/pkg/model"
 | 
						|
)
 | 
						|
 | 
						|
type AuthCert interface {
 | 
						|
	GetPageList(condition *entity.AuthCertQuery, pageParam *model.PageParam, toEntity any, orderBy ...string) *model.PageResult[any]
 | 
						|
 | 
						|
	Insert(ac *entity.AuthCert)
 | 
						|
 | 
						|
	Update(ac *entity.AuthCert)
 | 
						|
 | 
						|
	GetById(id uint64) *entity.AuthCert
 | 
						|
 | 
						|
	GetByIds(ids ...uint64) []*entity.AuthCert
 | 
						|
 | 
						|
	GetByCondition(condition *entity.AuthCert, cols ...string) error
 | 
						|
 | 
						|
	DeleteById(id uint64)
 | 
						|
}
 |