package command import "github.com/beego/beego/v2/core/validation" type DeleteRuleCommand struct { Id int64 `cname:"规则ID" json:"id,string" valid:"Required"` } func (in *DeleteRuleCommand) Valid(*validation.Validation) { }