Files
EdgeAPI/internal/db/models/node_login_model.go

25 lines
625 B
Go
Raw Normal View History

2020-07-22 22:17:53 +08:00
package models
//
type NodeLogin struct {
Id uint32 `field:"id"` // ID
NodeId uint32 `field:"nodeId"` // 节点ID
Name string `field:"name"` // 名称
Type string `field:"type"` // 类型ssh,agent
Params string `field:"params"` // 配置参数
State uint8 `field:"state"` // 状态
}
type NodeLoginOperator struct {
Id interface{} // ID
NodeId interface{} // 节点ID
Name interface{} // 名称
Type interface{} // 类型ssh,agent
Params interface{} // 配置参数
State interface{} // 状态
}
func NewNodeLoginOperator() *NodeLoginOperator {
return &NodeLoginOperator{}
}