using System; using System.Collections.Generic; using System.Text; namespace CommonUtil { /// /// json操作类 /// public class CustomerSearchRequest { /// /// 品牌ID /// public static string BrandId { get; set; } /// /// 代理商ID /// public string AgentId { get; set; } /// /// 门店Id /// public string ShopId { get; set; } /// /// 查询条件 /// public List conition { get; set; } /// /// 查询表名 /// public string group { get; set; } /// /// 查询字段 /// public string GetField { get; set; } /// /// 排序字段 /// public string OrderName { get; set; } /// /// 排序类型:desc,asc 升降序 /// public string OrderType { get; set; } /// /// 操作类型: search:查询、add:新增、edit:修改 /// public string Operation { get; set; } /// /// 当前页 /// public int CurrentPage { get; set; } /// /// 显示条数 /// public int PageSize { get; set; } } /// /// 条件 /// public class CustomerConition { /// /// 查询字段/插入字段 /// public List Fields { get; set; } /// /// 修改字段 /// public List UpdateFields { get; set; } } /// /// 条件字段 /// public class Field { /// /// 字段名字 /// public string field { get; set; } /// /// 字段操作类型 /// public string type { get; set; } /// /// 字段值 /// public string value { get; set; } } }