mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-16 04:36:35 +08:00
feat: 前端升级至vue3,后端代码结构重构,新增权限管理相关功能
This commit is contained in:
17
server/devops/domain/entity/machine.go
Normal file
17
server/devops/domain/entity/machine.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"mayfly-go/base/model"
|
||||
)
|
||||
|
||||
type Machine struct {
|
||||
model.Model
|
||||
Name string `json:"name"`
|
||||
// IP地址
|
||||
Ip string `json:"ip"`
|
||||
// 用户名
|
||||
Username string `json:"username"`
|
||||
Password string `json:"-"`
|
||||
// 端口号
|
||||
Port int `json:"port"`
|
||||
}
|
||||
Reference in New Issue
Block a user