mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
24 lines
414 B
Go
24 lines
414 B
Go
package dto
|
|
|
|
import (
|
|
"io"
|
|
"mayfly-go/internal/db/domain/entity"
|
|
tagentity "mayfly-go/internal/tag/domain/entity"
|
|
)
|
|
|
|
type SaveDbInstance struct {
|
|
DbInstance *entity.DbInstance
|
|
AuthCerts []*tagentity.ResourceAuthCert
|
|
TagCodePaths []string
|
|
}
|
|
|
|
type DumpDb struct {
|
|
DbId uint64
|
|
DbName string
|
|
Tables []string
|
|
DumpDDL bool // 是否dump ddl
|
|
DumpData bool // 是否dump data
|
|
|
|
Writer io.Writer
|
|
}
|