IEmployeeService.cs 820 B

12345678910111213141516171819202122232425262728
  1. using System.Threading.Tasks;
  2. using ZhonTai.Common.Domain.Dto;
  3. using ZhonTai.Plate.Personnel.Service.Employee.Input;
  4. using ZhonTai.Plate.Personnel.Service.Employee.Output;
  5. using ZhonTai.Plate.Personnel.Domain.Employee;
  6. namespace ZhonTai.Plate.Personnel.Service.Employee
  7. {
  8. /// <summary>
  9. /// Ô±¹¤·þÎñ
  10. /// </summary>
  11. public interface IEmployeeService
  12. {
  13. Task<ResultOutput<EmployeeGetOutput>> GetAsync(long id);
  14. Task<IResultOutput> GetPageAsync(PageInput<EmployeeEntity> input);
  15. Task<IResultOutput> AddAsync(EmployeeAddInput input);
  16. Task<IResultOutput> UpdateAsync(EmployeeUpdateInput input);
  17. Task<IResultOutput> DeleteAsync(long id);
  18. Task<IResultOutput> SoftDeleteAsync(long id);
  19. Task<IResultOutput> BatchSoftDeleteAsync(long[] ids);
  20. }
  21. }