using Siger.Middlelayer.AccRepository.Entities;
using Siger.Middlelayer.AccRepository.Response;
using Siger.Middlelayer.Repository.Paged;
using Siger.Middlelayer.Utility.ImportEntities;
using System.Collections.Generic;

namespace Siger.Middlelayer.AccRepository.Repositories.Interface
{
    public interface ISeriNumCfg : IAccRepositoryBase<SigerTrSerinumcfg>
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="productCode">产品编号Code</param>
        /// <param name="ruleType">规则类型</param>
        /// <param name="page"></param>
        /// <param name="pagesize"></param>
        /// <returns></returns>
        IPagedCollectionResult<ResponseSerialNum> GetPagedConfigList(string productCode,int ruleType, int page, int pagesize);
        CommonImportResult ImportSerinCfg(IEnumerable<SerinCfgConfigTemplate> instations, int projectid, int userId);
    }
}
