审查视图

pkg/application/evaluation_rule/command/rule_delete.go 231 字节
1 2 3 4 5
package command

import "github.com/beego/beego/v2/core/validation"

type DeleteRuleCommand struct {
6
	Id int64 `cname:"规则ID" json:"id,string" valid:"Required"`
7 8
}
9 10
func (in *DeleteRuleCommand) Valid(*validation.Validation) {
11
}