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

43 行
1.2KB

  1. <?php
  2. namespace App\Http\Controllers\Web\SeasonTicketContract;
  3. use App\Http\Controllers\Web\BaseParam;
  4. /**
  5. * @property string seasonTicketContractRecordNo
  6. * @property string parkingName
  7. * @property string zipCode
  8. * @property string name
  9. * @property string address
  10. * @property string phoneNo
  11. * @property string vehicleNo
  12. * @property ?string chassisNo
  13. * @property string payingMethod
  14. * @property string mailName
  15. * @property string mailZipCode
  16. * @property string mailAddress
  17. * @property ?string memo
  18. */
  19. class ParkingCertificateOrderParams extends BaseParam
  20. {
  21. public function rules(): array
  22. {
  23. return [
  24. 'season_ticket_contract_record_no' => $this->str(),
  25. 'parking_name' => $this->str(),
  26. 'name' => $this->str(),
  27. 'zip_code' => $this->str(),
  28. 'address' => $this->str(),
  29. 'phone_no' => $this->str(),
  30. 'vehicle_no' => $this->str(),
  31. 'chassis_no' => $this->str(true),
  32. 'paying_method' => $this->str(),
  33. 'mail_name' => $this->str(),
  34. 'mail_zip_code' => $this->str(),
  35. 'mail_address' => $this->str(),
  36. 'memo' => $this->str(true),
  37. ];
  38. }
  39. }