領収証発行サービス
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

27 行
566B

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