mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-10 17:13:30 +08:00
15 lines
346 B
Go
15 lines
346 B
Go
package model
|
|
|
|
type ComposeTemplate struct {
|
|
BaseModel
|
|
|
|
Name string `gorm:"type:varchar(64);not null;unique" json:"name"`
|
|
Description string `gorm:"type:varchar(256)" json:"description"`
|
|
Content string `gorm:"type:longtext" json:"content"`
|
|
}
|
|
|
|
type Compose struct {
|
|
BaseModel
|
|
|
|
Name string `gorm:"type:varchar(256)" json:"name"`
|
|
}
|