delete alphanum tag
This commit is contained in:
parent
5985ebcb4a
commit
40178e7fcc
|
|
@ -11,7 +11,7 @@ type TowerDTO struct {
|
||||||
|
|
||||||
type UpdateTowerDTO struct {
|
type UpdateTowerDTO struct {
|
||||||
DeviceID *string `json:"device_id,omitempty" validate:"omitempty,min=3"`
|
DeviceID *string `json:"device_id,omitempty" validate:"omitempty,min=3"`
|
||||||
TowerCode *string `json:"tower_code,omitempty" validate:"omitempty,alphanum"`
|
TowerCode *string `json:"tower_code,omitempty" validate:"omitempty"`
|
||||||
Longitude *float64 `json:"longitude,omitempty" validate:"omitempty,longitude"`
|
Longitude *float64 `json:"longitude,omitempty" validate:"omitempty,longitude"`
|
||||||
Latitude *float64 `json:"latitude,omitempty" validate:"omitempty,latitude"`
|
Latitude *float64 `json:"latitude,omitempty" validate:"omitempty,latitude"`
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue