package models

import "gitlink.org.cn/JointCloud/pcm-coordinator/pkg/models/base"

type CloudModel struct {
	Id            uint   `json:"id,omitempty" gorm:"id"`
	AdapterId     uint   `json:"adapterId,omitempty" gorm:"adapter_id"`
	Name          string `json:"name,omitempty" gorm:"name"`
	Nickname      string `json:"nickname,omitempty" gorm:"nickname"`
	Description   string `json:"description,omitempty" gorm:"description"`
	Server        string `json:"server,omitempty" gorm:"server"`
	MonitorServer string `json:"monitorServer,omitempty" gorm:"monitor_server"`
	Username      string `json:"username,omitempty" gorm:"username"`
	Password      string `json:"password,omitempty" gorm:"password"`
	Token         string `json:"token,omitempty" gorm:"token"`
	Ak            string `json:"ak,omitempty" gorm:"ak"`
	Sk            string `json:"sk,omitempty" gorm:"sk"`
	Region        string `json:"region,omitempty" gorm:"region"`
	ProjectId     string `json:"projectId,omitempty" gorm:"project_id"`
	Version       string `json:"version,omitempty" gorm:"version"`
	Label         string `json:"label,omitempty" gorm:"label"`
	OwnerId       uint   `json:"ownerId,omitempty" gorm:"owner_id"`
	AuthType      int    `json:"authType,omitempty" gorm:"auth_type"`
	ProducerDict  string `json:"producerDict,omitempty" gorm:"producer_dict"`
	RegionDict    string `json:"regionDict,omitempty" gorm:"region_dict"`
	base.BaseModel
}
