mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-01 23:10:26 +08:00
34 lines
812 B
Go
34 lines
812 B
Go
package vo
|
|
|
|
import (
|
|
tagentity "mayfly-go/internal/tag/domain/entity"
|
|
"time"
|
|
)
|
|
|
|
type InstanceListVO struct {
|
|
tagentity.AuthCerts // 授权凭证信息
|
|
tagentity.ResourceTags
|
|
|
|
Id *int64 `json:"id"`
|
|
Code string `json:"code"`
|
|
Name *string `json:"name"`
|
|
Protocol *string `json:"protocol"`
|
|
Host *string `json:"host"`
|
|
Port *int `json:"port"`
|
|
Version *string `json:"version"`
|
|
Remark *string `json:"remark"`
|
|
|
|
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"`
|
|
|
|
SshTunnelMachineId int `json:"sshTunnelMachineId"`
|
|
}
|
|
|
|
func (i *InstanceListVO) GetCode() string {
|
|
return i.Code
|
|
}
|