Queue.php 471 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace App\Module\DelayQueue\Entity;
  3. class Queue
  4. {
  5. /**
  6. * 创建时间
  7. * @var int
  8. */
  9. public int $create_ts;
  10. /**
  11. * 延迟时间
  12. * @var int
  13. */
  14. public int $delay_ts;
  15. /**
  16. * 运行类
  17. * @var string
  18. */
  19. public string $runClass;
  20. /**
  21. * 运行方法
  22. * @var string
  23. */
  24. public string $runMethod;
  25. /**
  26. * 运行参数
  27. * @var string
  28. */
  29. public $runParam;
  30. }