using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace GSYWApi.Models
{
///
/// 通用数据对象
///
public class CommonModel
{
///
/// 名称
///
public string label { get; set; }
///
/// 数值(对应数据表id)
///
public string value { get; set; }
}
///
/// 通用数据对象(附带pid)
///
public class CommonPidModel
{
///
/// 名称
///
public string label { get; set; }
///
/// 数值(对应数据表id)
///
public int? value { get; set; }
///
/// 上级类别内码
///
public int? pid { get; set; }
}
///
/// 查询条件对象
///
///
public class SearchModel
{
///
/// 查询方式
/// 0:模糊查询,1:精确查询
///
public int QueryType { get; set; }
///
/// 查询表对象
///
public T SearchParameter { get; set; }
///
/// 组合查询条件
///
public KeyWord keyWord { get; set; }
///
/// 查询页码数
///
public int PageIndex { get; set; }
///
/// 每页显示数量
///
public int PageSize { get; set; }
///
/// 排序条件
///
public string SortStr { get; set; }
}
///
/// 键值对
///
public class KeyWord
{
///
/// 字段
///
public string Key { get; set; }
///
/// 值
///
public string Value { get; set; }
}
}