增加一些表设计

This commit is contained in:
刘祥超
2020-09-23 10:12:57 +08:00
parent ed8d37518d
commit 8c0a1ae755
50 changed files with 529 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
package models
//
// 节点授权
type NodeGrant struct {
Id uint32 `field:"id"` // ID
Name string `field:"name"` // 名称
@@ -12,6 +12,7 @@ type NodeGrant struct {
Description string `field:"description"` // 备注
NodeId uint32 `field:"nodeId"` // 专有节点
State uint8 `field:"state"` // 状态
CreatedAt uint64 `field:"createdAt"` // 创建时间
}
type NodeGrantOperator struct {
@@ -25,6 +26,7 @@ type NodeGrantOperator struct {
Description interface{} // 备注
NodeId interface{} // 专有节点
State interface{} // 状态
CreatedAt interface{} // 创建时间
}
func NewNodeGrantOperator() *NodeGrantOperator {