using System;
using System.Collections.Generic;
using System.Text;
using HRM.BO.SearchTools;

namespace HRM.BO.SearchTools
{
    public class QueryTool: BasicBaseObject
    {
        public QueryTool()
        {
            
        }

        public string SearchString { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public string SQL { get; set; }
        public EnumQTModuleType QTModuleType { get; set; }
        public List<QTColumn> DataColumns { get; set; }
        public List<QTSearchColumn> SearchColumns { get; set; }
        public List<QTAuthorization> QtAuthorizations { get; set; }

    }
}

public interface IQueryToolService
{
    public void SaveQueryTool(QueryTool item);
    public List<QueryTool> GetAll();
}