mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-02-06 04:45:48 +08:00
feat: 容器操作优化等
This commit is contained in:
14
server/internal/docker/domain/entity/contrainer.go
Normal file
14
server/internal/docker/domain/entity/contrainer.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package entity
|
||||
|
||||
import "mayfly-go/pkg/model"
|
||||
|
||||
// 容器配置
|
||||
type Container struct {
|
||||
model.Model
|
||||
model.ExtraData
|
||||
|
||||
Code string `json:"code" gorm:"size:32;comment:code"` // code
|
||||
Name string `json:"name" gorm:"size:32"` // 名称
|
||||
Addr string `json:"addr" gorm:"size:64;not null;comment:地址"` // 地址
|
||||
Remark string `json:"remark" gorm:"comment:备注"` // 备注
|
||||
}
|
||||
Reference in New Issue
Block a user