mirror of
				https://github.com/1Panel-dev/1Panel.git
				synced 2025-11-01 03:37:19 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			347 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			347 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package model
 | |
| 
 | |
| type WebsiteDnsAccount struct {
 | |
| 	BaseModel
 | |
| 	Name          string `gorm:"type:varchar(64);not null" json:"name"`
 | |
| 	Type          string `gorm:"type:varchar(64);not null" json:"type"`
 | |
| 	Authorization string `gorm:"type:varchar(256);not null" json:"-"`
 | |
| }
 | |
| 
 | |
| func (w WebsiteDnsAccount) TableName() string {
 | |
| 	return "website_dns_accounts"
 | |
| }
 |