public virtual bool Validate() { this.validErrors = string.Empty; if (this.searchParams == null) { this.validErrors += "请传入搜索参数"; return(false); } if (this.searchParams != null && this.searchParams.createDate != null && this.searchParams.createDate.Length > 2) { this.validErrors += "搜索参数【创建日期】传入不正确"; return(false); } if (pageInfo == null) { pageInfo = new RequestPageInfo(); } return(string.IsNullOrEmpty(this.validErrors)); }
protected RichSearchNoParamModel() { pageInfo = new RequestPageInfo(); }
protected RichSearchBaseModel() { pageInfo = new RequestPageInfo(); }