mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-14 00:31:51 +08:00
16 lines
258 B
Go
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"`
|
|
}
|