Files
dify-plus/admin/server/model/gaia/app_version_release.go
T
npc0-hue df9bed2950 fear: admin添加app应用版本管理
system-features添加
2026-02-09 09:11:58 +08:00

17 lines
675 B
Go

package gaia
import "time"
// AppVersionRelease 应用版本发布(多版本列表中的一条)
type AppVersionRelease struct {
Id uint `json:"id" gorm:"primarykey;column:id;comment:id"`
Version string `json:"version" gorm:"column:version;size:64;not null;comment:版本号"`
ReleaseNotes string `json:"release_notes" gorm:"column:release_notes;type:text;comment:更新说明"`
CreatedAt time.Time `json:"created_at" gorm:"column:created_at;comment:创建时间"`
UpdatedAt time.Time `json:"updated_at" gorm:"column:updated_at;comment:更新时间"`
}
func (AppVersionRelease) TableName() string {
return "app_version_releases"
}