平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

60 lines
1.2 KiB

  1. //
  2. namespace SafeCampus.System;
  3. /// <summary>
  4. /// 权限按钮服务
  5. /// </summary>
  6. public interface IButtonService : ITransient
  7. {
  8. /// <summary>
  9. /// 添加按钮
  10. /// </summary>
  11. /// <param name="input">添加参数</param>
  12. /// <returns></returns>
  13. Task Add(ButtonAddInput input);
  14. /// <summary>
  15. /// 批量添加
  16. /// </summary>
  17. /// <param name="input"></param>
  18. /// <returns></returns>
  19. Task<List<long>> AddBatch(ButtonAddInput input);
  20. /// <summary>
  21. /// 删除按钮
  22. /// </summary>
  23. /// <param name="input">删除参数</param>
  24. /// <returns></returns>
  25. Task Delete(BaseIdListInput input);
  26. /// <summary>
  27. /// 编辑按钮
  28. /// </summary>
  29. /// <param name="input">编辑参数</param>
  30. /// <returns></returns>
  31. Task Edit(ButtonEditInput input);
  32. /// <summary>
  33. /// 按钮分页查询
  34. /// </summary>
  35. /// <param name="input">查询条件</param>
  36. /// <returns>按钮分页列表</returns>
  37. Task<SqlSugarPagedList<SysResource>> Page(ButtonPageInput input);
  38. /// <summary>
  39. /// 按钮详情
  40. /// </summary>
  41. /// <param name="input"></param>
  42. /// <returns></returns>
  43. Task<SysResource> Detail(BaseIdInput input);
  44. }