using System.Collections.Generic;
using System.Threading.Tasks;
using NPP.SmartSchedue.Api.Contracts.Domain.Personnel;
using ZhonTai.Admin.Core.Repositories;

namespace NPP.SmartSchedue.Api.Contracts;

/// <summary>
/// 人员资质绑定仓储接口
/// </summary>
public interface IPersonnelQualificationRepository : IRepositoryBase<PersonnelQualificationEntity>
{
    /// <summary>
    /// 根据工序ID获取符合资质要求的人员
    /// </summary>
    /// <param name="processId">工序ID</param>
    /// <returns>符合资质的人员列表</returns>
    Task<List<PersonnelQualificationEntity>> GetQualifiedPersonnelByProcessAsync(long processId);
} 