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