mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-05-03 01:25:21 +08:00
简单基于DDD重构,并实现机器文件及脚本管理
This commit is contained in:
13
devops/domain/entity/db_sql.go
Normal file
13
devops/domain/entity/db_sql.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"mayfly-go/base/model"
|
||||
)
|
||||
|
||||
type DbSql struct {
|
||||
model.Model `orm:"-"`
|
||||
|
||||
DbId uint64 `json:"db_id"`
|
||||
Type int `json:"type"` // 类型
|
||||
Sql string `json:"sql"`
|
||||
}
|
||||
Reference in New Issue
Block a user