mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-28 18:36:34 +08:00
feat: 新增机器授权凭证管理与其他优化
This commit is contained in:
22
server/internal/machine/domain/repository/auth_cert.go
Normal file
22
server/internal/machine/domain/repository/auth_cert.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package repository
|
||||
|
||||
import (
|
||||
"mayfly-go/internal/machine/domain/entity"
|
||||
"mayfly-go/pkg/model"
|
||||
)
|
||||
|
||||
type AuthCert interface {
|
||||
GetPageList(condition *entity.AuthCert, pageParam *model.PageParam, toEntity interface{}, orderBy ...string) *model.PageResult
|
||||
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user