package admin
type SearchGatewayIpParams struct {
	Ip     string `form:"ip" json:"ip"`
	HostId   int	`form:"hostId" json:"hostId"`
	Name     string `form:"name" json:"name"`
	NodeArea string `form:"nodeArea" json:"nodeArea"`
	Operator int	`form:"operator" json:"operator"`
	BanUdp       int `json:"banUdp" form:"banUdp" default:"0"`
	BanOverseas int `json:"banOverseas" form:"banOverseas" default:"0"`
	Comment  string `form:"comment" json:"comment"`
	Current  int	`form:"current" json:"current" default:"1"`
	PageSize int	`form:"pageSize" json:"pageSize" default:"10"`
	Column   string `form:"column" json:"column" default:"id"`
	Order    string `form:"order" json:"order" default:"desc"`
}

type GatewayIp struct {
	Id int `json:"id" form:"id" validate:"required,min=1" `
}

type DeleteGatewayIpRequest struct {
	Ids []int64 `json:"ids" form:"ids" validate:"required,min=1,dive,required"`
}