ILawyerApplicationService.cs 923 B

12345678910111213141516171819202122232425262728293031323334
  1. using System.Threading.Tasks;
  2. using Abp.Application.Services.Dto;
  3. using ContractService.LawFirm.Dto;
  4. using IwbZero.AppServiceBase;
  5. using ContractService.Lawyer.Dto;
  6. namespace ContractService.Lawyer
  7. {
  8. public interface ILawyerAppService : IIwbZeroAsyncCrudAppService<LawyerDto, string, IwbPagedRequestDto, LawyerCreateDto, LawyerUpdateDto >
  9. {
  10. /// <summary>
  11. /// 绑定账号
  12. /// </summary>
  13. /// <param name="input"></param>
  14. /// <returns></returns>
  15. Task Bind(BindDto input);
  16. /// <summary>
  17. /// 解绑账号
  18. /// </summary>
  19. /// <param name="input"></param>
  20. /// <returns></returns>
  21. Task UnBind(EntityDto<string> input);
  22. #region Get
  23. Task<LawyerInfo> GetEntity(EntityDto<string> input);
  24. Task<LawyerInfo> GetEntityById(string id);
  25. Task<LawyerInfo> GetEntityByNo(string no);
  26. #endregion
  27. }
  28. }