mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 16:00:24 +08:00 
			
		
		
		
	
		
			
	
	
		
			19 lines
		
	
	
		
			443 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			443 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package models
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// NodeIPAddressGroup IP地址分组
							 | 
						||
| 
								 | 
							
								type NodeIPAddressGroup struct {
							 | 
						||
| 
								 | 
							
									Id    uint32 `field:"id"`    // ID
							 | 
						||
| 
								 | 
							
									Name  string `field:"name"`  // 分组名
							 | 
						||
| 
								 | 
							
									Value string `field:"value"` // IP值
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type NodeIPAddressGroupOperator struct {
							 | 
						||
| 
								 | 
							
									Id    interface{} // ID
							 | 
						||
| 
								 | 
							
									Name  interface{} // 分组名
							 | 
						||
| 
								 | 
							
									Value interface{} // IP值
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func NewNodeIPAddressGroupOperator() *NodeIPAddressGroupOperator {
							 | 
						||
| 
								 | 
							
									return &NodeIPAddressGroupOperator{}
							 | 
						||
| 
								 | 
							
								}
							 |