mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-03 00:00:58 +08:00
32 lines
953 B
C#
32 lines
953 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Yi.Framework.Model.Models;
|
|
|
|
namespace Yi.Framework.Model.Search
|
|
{
|
|
public class SearchResult<Goods> : PageResult<Goods>
|
|
{
|
|
public List<brand> brands = new List<brand>();
|
|
public List<category> categories = new List<category>();
|
|
//规格参数过滤条件
|
|
public List<Dictionary<string, object>> specs = new List<Dictionary<string, object>>();
|
|
public SearchResult(long total,
|
|
int totalPage,
|
|
List<Goods> items,
|
|
List<category> categories,
|
|
List<brand> brands,
|
|
List<Dictionary<string, object>> specs) : base
|
|
(total, items)
|
|
{
|
|
|
|
this.categories = categories;
|
|
this.brands = brands;
|
|
this.specs = specs;
|
|
}
|
|
|
|
}
|
|
}
|