using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using PERMDAL.DTOs; namespace PERMDAL.Interfaces; public interface IAppraisalPlanDAL { Task GetAppraisalPlanAsync(int planId, LoginDTO login, CancellationToken ct); Task> GetAppraisalPlanListAsync(short? status, int page, int pageSize, LoginDTO login, CancellationToken ct); Task> GetAppraisalPlanSelectListAsync(CriteriaDTO criteriaDTO, LoginDTO login, CancellationToken ct); Task InsertAppraisalPlanAsync(AppraisalPlanDTO dto, LoginDTO login, CancellationToken ct); Task UpdateAppraisalPlanAsync(AppraisalPlanDTO dto, LoginDTO login, CancellationToken ct); Task ActivateAppraisalPlanAsync(int planId, LoginDTO login, CancellationToken ct); Task CloseAppraisalPlanAsync(int planId, LoginDTO login, CancellationToken ct); Task NameExistsAsync(string name, int excludePlanId, LoginDTO login, CancellationToken ct); Task ActivePlanExistsForTypeAsync(int appraisalTypeId, int excludePlanId, LoginDTO login, CancellationToken ct); }