using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain;

namespace Service
{
    public interface IHostUpdateManager : IGenericManager<HostUpdate>
    {
        IList<HostUpdate> LoadAllByPage(out long total, int page, int rows, string order, string sort, int hotelID);
        /// <summary>
        /// 根据酒店ID获取第一条记录
        /// </summary>
        /// <param name="hotelID"></param>
        /// <returns></returns>
        HostUpdate Get(string md5, int hotelID);
    }
}
