mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 00:10:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			843 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			843 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package vo
 | 
						|
 | 
						|
import (
 | 
						|
	tagentity "mayfly-go/internal/tag/domain/entity"
 | 
						|
	"time"
 | 
						|
)
 | 
						|
 | 
						|
type DbListVO struct {
 | 
						|
	tagentity.ResourceTags
 | 
						|
 | 
						|
	Id       *int64  `json:"id"`
 | 
						|
	Code     string  `json:"code"`
 | 
						|
	Name     *string `json:"name"`
 | 
						|
	Database *string `json:"database"`
 | 
						|
	Remark   *string `json:"remark"`
 | 
						|
 | 
						|
	InstanceId   *int64  `json:"instanceId"`
 | 
						|
	AuthCertName string  `json:"authCertName"`
 | 
						|
	InstanceName *string `json:"instanceName"`
 | 
						|
	InstanceType *string `json:"type"`
 | 
						|
	Host         string  `json:"host"`
 | 
						|
	Port         int     `json:"port"`
 | 
						|
 | 
						|
	CreateTime *time.Time `json:"createTime"`
 | 
						|
	Creator    *string    `json:"creator"`
 | 
						|
	CreatorId  *int64     `json:"creatorId"`
 | 
						|
	UpdateTime *time.Time `json:"updateTime"`
 | 
						|
	Modifier   *string    `json:"modifier"`
 | 
						|
	ModifierId *int64     `json:"modifierId"`
 | 
						|
}
 | 
						|
 | 
						|
func (d DbListVO) GetCode() string {
 | 
						|
	return d.Code
 | 
						|
}
 |