package v1

type GetGateWayGroupIpByGatewayGroupIdRequest struct {
	GatewayGroupId int `form:"gatewayGroupId" json:"gatewayGroupId" binding:"required"`
}

type GateWayGroupIpRequest struct {
	Id             int    `json:"id" form:"id"`
	GatewayGroupId int    `json:"gatewayGroupId" form:"gatewayGroupId" binding:"required"`
	Ip             string `json:"ip" form:"ip" binding:"required"`
	Tag            string `json:"tag" form:"tag"`
	OriginPlace      string `json:"originPlace" form:"originPlace"`
	Comment        string `json:"comment" form:"comment"`
}

type DeleteGateWayGroupIpRequest struct {
	Id int `json:"id" form:"id" binding:"required"`
}
type SearchGatewayGroupIpParams struct {
	Ip     string `form:"ip" json:"ip"`
	GatewayGroupId   int	`form:"gatewayGroupId" json:"gatewayGroupId"`
	Operator int	`form:"operator" json:"operator"`
	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"`
}