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.

24 lines
471B

  1. <?php
  2. namespace App\Http\Controllers\Web\QRService;
  3. use App\Http\Controllers\Web\BaseParam;
  4. use App\Models\ColumnName;
  5. /**
  6. * @property int $customerId
  7. * @property string $token
  8. * @property string|null $ticketId
  9. */
  10. class CreateTicketParam extends BaseParam
  11. {
  12. public function rules(): array
  13. {
  14. return [
  15. 'customer_id' => $this->numeric(),
  16. 'token' => $this->str(),
  17. 'ticket_id' => $this->str(true),
  18. ];
  19. }
  20. }