mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
582 B
24 lines
582 B
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"`
|
|
}
|