using System.Threading.Tasks;
using System.Collections.Generic;
using ZhonTai.Admin.Core.Dto;
using NPP.SmartSchedue.Api.Contracts.Services.Work.Input;
using NPP.SmartSchedue.Api.Contracts.Services.Work.Output;
namespace NPP.SmartSchedue.Api.Contracts.Services.Work;
///
/// 工序服务接口
///
public interface IProcessService
{
Task GetAsync(long id);
Task> GetPageAsync(PageInput input);
Task AddAsync(ProcessAddInput input);
Task UpdateAsync(ProcessUpdateInput input);
Task DeleteAsync(long id);
Task SoftDeleteAsync(long id);
Task BatchSoftDeleteAsync(long[] ids);
Task EnableAsync(long id);
Task DisableAsync(long id);
Task> GetProcessesByGroupIdAsync(long processGroupId);
}