mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-12 02:21:55 +08:00
22 lines
755 B
Go
22 lines
755 B
Go
|
package dto
|
||
|
|
||
|
import "github.com/1Panel-dev/1Panel/backend/app/model"
|
||
|
|
||
|
type WebsiteDnsAccountDTO struct {
|
||
|
model.WebsiteDnsAccount
|
||
|
Authorization map[string]string `json:"authorization"`
|
||
|
}
|
||
|
|
||
|
type WebsiteDnsAccountCreate struct {
|
||
|
Name string `json:"name" validate:"required"`
|
||
|
Type string `json:"type" validate:"required"`
|
||
|
Authorization map[string]string `json:"authorization" validate:"required"`
|
||
|
}
|
||
|
|
||
|
type WebsiteDnsAccountUpdate struct {
|
||
|
ID uint `json:"id" validate:"required"`
|
||
|
Name string `json:"name" validate:"required"`
|
||
|
Type string `json:"type" validate:"required"`
|
||
|
Authorization map[string]string `json:"authorization" validate:"required"`
|
||
|
}
|