mc-client-updater-server/pkg/dao/entity/instance.go

12 lines
278 B
Go
Raw Permalink Normal View History

2022-10-04 00:36:01 +08:00
package entity
import (
"gorm.io/gorm"
)
type Instance struct {
gorm.Model `json:"model"`
2024-01-07 15:13:35 +08:00
Name string `gorm:"unique;not null" json:"name"`
UpdateURL string `gorm:"column:update_url;not null;default:'';comment:更新URL未指定使用默认" json:"update_url"`
2022-10-04 00:36:01 +08:00
}