領収証発行サービス
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

26 Zeilen
539B

  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. * @property ?string $contractCode
  9. */
  10. class CreateParam extends BaseParam
  11. {
  12. public function rules(): array
  13. {
  14. return
  15. [
  16. Contract::COL_NAME_NAME => $this->str(),
  17. Contract::COL_NAME_CUSTOM => $this->str(true),
  18. Contract::COL_NAME_CONTRACT_CODE => $this->str(true),
  19. ];
  20. }
  21. }