mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 16:00:24 +08:00 
			
		
		
		
	
		
			
	
	
		
			23 lines
		
	
	
		
			583 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			23 lines
		
	
	
		
			583 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package models
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// 节点分组
							 | 
						||
| 
								 | 
							
								type NodeGroup struct {
							 | 
						||
| 
								 | 
							
									Id        uint32 `field:"id"`        // ID
							 | 
						||
| 
								 | 
							
									Name      string `field:"name"`      // 名称
							 | 
						||
| 
								 | 
							
									Order     uint32 `field:"order"`     // 排序
							 | 
						||
| 
								 | 
							
									CreatedAt uint32 `field:"createdAt"` // 创建时间
							 | 
						||
| 
								 | 
							
									State     uint8  `field:"state"`     // 状态
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type NodeGroupOperator struct {
							 | 
						||
| 
								 | 
							
									Id        interface{} // ID
							 | 
						||
| 
								 | 
							
									Name      interface{} // 名称
							 | 
						||
| 
								 | 
							
									Order     interface{} // 排序
							 | 
						||
| 
								 | 
							
									CreatedAt interface{} // 创建时间
							 | 
						||
| 
								 | 
							
									State     interface{} // 状态
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func NewNodeGroupOperator() *NodeGroupOperator {
							 | 
						||
| 
								 | 
							
									return &NodeGroupOperator{}
							 | 
						||
| 
								 | 
							
								}
							 |