Files

17 lines
328 B
Go
Raw Permalink Normal View History

2024-07-23 14:48:37 +08:00
package model
type ComposeTemplate struct {
BaseModel
2024-08-14 10:43:32 +08:00
Name string `gorm:"not null;unique" json:"name"`
Description string `json:"description"`
Content string `json:"content"`
2024-07-23 14:48:37 +08:00
}
type Compose struct {
BaseModel
2026-07-30 09:39:47 +08:00
Name string `json:"name"`
Path string `json:"path"`
IsPinned bool `json:"isPinned"`
2024-07-23 14:48:37 +08:00
}