package v1

type GlobalRequire struct {
	HostId            int    `form:"host_id" json:"host_id" binding:"required"`
	Uid               int    `form:"uid" json:"uid" binding:"required"`
	Comment           string `form:"comment" json:"comment" binding:"required"`
	WafGatewayGroupId int    `form:"waf_gateway_group_id" json:"waf_gateway_group_id"`
	LimitRuleId       int    `form:"limit_id" json:"limit_id"`
	Domain            string `form:"domain" json:"domain"`
	Tag               string `form:"tag" json:"tag" binding:"required"`
}

type GetForwardingRequest struct {
	HostId            int    `form:"host_id" json:"host_id" binding:"required"`
	Uid               int    `form:"uid" json:"uid" binding:"required"`
	Id                int    `form:"id" json:"id" binding:"required"`
}
