IVzTreeAppServiceBase.cs 818 B

1234567891011121314151617181920212223242526
  1. using VberZero.AppService.Base.Dto;
  2. using VberZero.AppService.Base.TreeBase.Dto;
  3. namespace VberZero.AppService.Base.TreeBase;
  4. public interface IVzTreeAppServiceBase<TEntityDto, TPrimaryKey, in TG, TC, TU> : IVzCrudAppService<TEntityDto,
  5. TPrimaryKey, TG, TC, TU>
  6. where TEntityDto : class, IVzTreeEntityDto<TPrimaryKey>
  7. where TG : class, IVzPagedRequestDto
  8. where TC : class, IVzTreeEntityDto<TPrimaryKey>
  9. where TU : class, IVzTreeEntityDto<TPrimaryKey>
  10. {
  11. /// <summary>
  12. /// 上移
  13. /// </summary>
  14. /// <param name="input"></param>
  15. /// <returns></returns>
  16. Task MoveUp(VzTreeMoveDto<TPrimaryKey> input);
  17. /// <summary>
  18. /// 下移
  19. /// </summary>
  20. /// <param name="input"></param>
  21. /// <returns></returns>
  22. Task MoveDown(VzTreeMoveDto<TPrimaryKey> input);
  23. }