using MadRunFabric.Common;
using MadRunFabric.Model.EquipmentApi.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace EquipmentApi.IRepositories
{
    /// <summary>
    /// 检查事项及内容
    /// </summary>
    public interface IWo_MattersRepository : IRepository<Wo_Matters, string>
    {
        /// <summary>
        /// 获取保养列表 by page
        /// </summary>
        /// <param name="projectid"></param>
        /// <param name="key"></param>
        /// <param name="type"></param>
        /// <param name="pageindex"></param>
        /// <param name="pagesize"></param>
        /// <param name="recordCount"></param>
        /// <returns></returns>
        IEnumerable<object> GetListsByPage(string projectid, string key, int type, int pageindex, int pagesize, out int recordCount);
        IEnumerable<object> GetLists(string projectid, int type);
        /// <summary>
        /// 获取保养详情 by id
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        object GetDetails(string id);
    }
}
