mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:50:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			493 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			493 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package models
 | 
						|
 | 
						|
import "github.com/iwind/TeaGo/dbs"
 | 
						|
 | 
						|
// SysSetting 系统配置
 | 
						|
type SysSetting struct {
 | 
						|
	Id     uint32   `field:"id"`     // ID
 | 
						|
	UserId uint32   `field:"userId"` // 用户ID
 | 
						|
	Code   string   `field:"code"`   // 代号
 | 
						|
	Value  dbs.JSON `field:"value"`  // 配置值
 | 
						|
}
 | 
						|
 | 
						|
type SysSettingOperator struct {
 | 
						|
	Id     any // ID
 | 
						|
	UserId any // 用户ID
 | 
						|
	Code   any // 代号
 | 
						|
	Value  any // 配置值
 | 
						|
}
 | 
						|
 | 
						|
func NewSysSettingOperator() *SysSettingOperator {
 | 
						|
	return &SysSettingOperator{}
 | 
						|
}
 |