0
0

IEmployeeService.cs 734 B

123456789101112131415161718192021222324252627
  1. using System.Threading.Tasks;
  2. using ZhonTai.Admin.Core.Dto;
  3. using ZhonTai.Admin.Services.Employee.Input;
  4. using ZhonTai.Admin.Services.Employee.Output;
  5. namespace ZhonTai.Admin.Services.Employee
  6. {
  7. /// <summary>
  8. /// 员工服务
  9. /// </summary>
  10. public interface IEmployeeService
  11. {
  12. Task<ResultOutput<EmployeeGetOutput>> GetAsync(long id);
  13. Task<IResultOutput> GetPageAsync(PageInput input);
  14. Task<IResultOutput> AddAsync(EmployeeAddInput input);
  15. Task<IResultOutput> UpdateAsync(EmployeeUpdateInput input);
  16. Task<IResultOutput> DeleteAsync(long id);
  17. Task<IResultOutput> SoftDeleteAsync(long id);
  18. Task<IResultOutput> BatchSoftDeleteAsync(long[] ids);
  19. }
  20. }