領収証発行サービス
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

24 lines
434B

  1. <?php
  2. namespace App\Http\Controllers\Web\Contract;
  3. use App\Http\Controllers\Web\BaseParam;
  4. use App\Models\Contract;
  5. /**
  6. * @property string $name
  7. * @property ?string $custom
  8. */
  9. class CreateParam extends BaseParam
  10. {
  11. public function rules(): array
  12. {
  13. return
  14. [
  15. Contract::COL_NAME_NAME => $this->str(),
  16. Contract::COL_NAME_CUSTOM => $this->str(true),
  17. ];
  18. }
  19. }