1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 16:29:17 +08:00
1Panel/agent/app/model/compose_template.go
2024-08-14 10:43:32 +08:00

16 lines
258 B
Go

package model
type ComposeTemplate struct {
BaseModel
Name string `gorm:"not null;unique" json:"name"`
Description string `json:"description"`
Content string `json:"content"`
}
type Compose struct {
BaseModel
Name string `json:"name"`
}