1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 08:19:15 +08:00
1Panel/backend/app/model/compose_template.go

11 lines
325 B
Go
Raw Normal View History

2022-10-17 09:10:06 +08:00
package model
type ComposeTemplate struct {
BaseModel
Name string `gorm:"type:varchar(64);not null;unique" json:"name"`
From string `gorm:"type:varchar(64);not null" json:"from"`
Description string `gorm:"type:varchar(256);" json:"description"`
Content string `gorm:"type:longtext" json:"content"`
}