mirror of
https://github.com/EZ-Api/ez-api.git
synced 2026-01-13 17:47:51 +00:00
Standardize alignment of struct tags in models and field assignments in services for better readability. Additionally, include the Binding model in the test database auto-migration.
13 lines
445 B
Go
13 lines
445 B
Go
package dto
|
|
|
|
// BindingDTO defines inbound payload for binding creation/update.
|
|
// It maps "(namespace, public_model)" to a RouteGroup and an upstream selector.
|
|
type BindingDTO struct {
|
|
Namespace string `json:"namespace"`
|
|
PublicModel string `json:"public_model"`
|
|
RouteGroup string `json:"route_group"`
|
|
SelectorType string `json:"selector_type"`
|
|
SelectorValue string `json:"selector_value"`
|
|
Status string `json:"status"`
|
|
}
|