edit_parent.go 416 字节
package command

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

type EditParentCommand struct {
	Id         int64 `cname:"用户ID" json:"id,string" valid:"Required"`
	ParentId   int64 `cname:"上级ID" json:"parentId,string"`
	CompanyId  int   `cname:"公司ID" json:"companyId"`
	OperatorId int   `cname:"操作人ID" json:"operatorId"`
}

func (in *EditParentCommand) Valid(*validation.Validation) {

}