領収証発行サービス
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

29 řádky
666B

  1. <?php
  2. namespace App\Http\Controllers\Web\LoginUser;
  3. use App\Http\Controllers\Web\BaseParam;
  4. use App\Repositories\LoginUserRepository as Repository;
  5. /**
  6. * @property ?string $id
  7. * @property ?string $name
  8. * @property ?string $email
  9. */
  10. class LoginUsersParam extends BaseParam
  11. {
  12. public function rules(): array
  13. {
  14. return
  15. array_merge(
  16. [
  17. Repository::CONDITION_ID => $this->str(true),
  18. Repository::CONDITION_NAME => $this->str(true),
  19. Repository::CONDITION_EMAIL => $this->str(true),
  20. ],
  21. $this->sortableRules(),
  22. );
  23. }
  24. }