...
|
...
|
@@ -3,10 +3,10 @@ package command |
|
|
import "github.com/beego/beego/v2/core/validation"
|
|
|
|
|
|
type QueryLogCommand struct {
|
|
|
CompanyId int64 `cname:"公司ID" json:"-"`
|
|
|
TaskId int `cname:"任务ID" json:"taskId,string" valid:"Required"`
|
|
|
PageNumber int64 `cname:"分页页码" json:"pageNumber" valid:"Required"`
|
|
|
PageSize int64 `cname:"分页数量" json:"pageSize" valid:"Required"`
|
|
|
CompanyId int64 `cname:"公司ID" json:"-"`
|
|
|
TaskId string `cname:"任务ID" json:"taskId" valid:"Required"`
|
|
|
PageNumber int64 `cname:"分页页码" json:"pageNumber" valid:"Required"`
|
|
|
PageSize int64 `cname:"分页数量" json:"pageSize" valid:"Required"`
|
|
|
}
|
|
|
|
|
|
func (in *QueryLogCommand) Valid(*validation.Validation) {
|
...
|
...
|
|