
namespace Stat.Model
{
    /// <summary>
    /// 
    /// </summary>
    public class Database
    {
        /// <summary>
        /// 数据源ID
        /// </summary>
        public int DatabaseId { set; get; }
        /// <summary>
        /// 数据表
        /// </summary>
        public string Datatable { set; get; }
        /// <summary>
        /// 查询字段名
        /// </summary>
        public string QueryField { set; get; }
        /// <summary>
        /// 排序字段名
        /// </summary>
        public string SortField { set; get; }
        /// <summary>
        /// 排序方法：（0：正，1：反）
        /// </summary>
        public int SortStype { set; get; }
        /// <summary>
        /// 返回字段名
        /// </summary>
        public string GetField { set; get; }

        /// <summary>
        /// 关键字
        /// </summary>
        public string Keyword { set; get; }
    }
}
