mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-25 07:47:48 +08:00
24 lines
582 B
Go
24 lines
582 B
Go
package dto
|
|
|
|
import "time"
|
|
|
|
type ComposeTemplateCreate struct {
|
|
Name string `json:"name" validate:"required"`
|
|
Description string `json:"description"`
|
|
Content string `json:"content"`
|
|
}
|
|
|
|
type ComposeTemplateUpdate struct {
|
|
ID uint `json:"id"`
|
|
Description string `json:"description"`
|
|
Content string `json:"content"`
|
|
}
|
|
|
|
type ComposeTemplateInfo struct {
|
|
ID uint `json:"id"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
Name string `json:"name"`
|
|
Description string `json:"description"`
|
|
Content string `json:"content"`
|
|
}
|