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ů.

46 řádky
1.5KB

  1. <?php
  2. namespace App\Http\Controllers\Web\HTICWeb;
  3. use App\Http\Controllers\Web\BaseParam;
  4. use Illuminate\Support\Carbon;
  5. /**
  6. * @property int userId
  7. * @property int seasonTicketContractId
  8. * @property int seasonTicketSeqNo
  9. * @property string parkingManagementCode
  10. * @property ?Carbon expirationStartDate
  11. * @property ?Carbon expirationEndDate
  12. * @property string vehicleTypeName
  13. * @property string parkingUseTypeName
  14. * @property string contractorTypeLineNoName
  15. * @property ?string positionMemo
  16. * @property ?string memo
  17. * @property int seasonTicketLabelCount
  18. * @property bool seasonTicketLabelCountReleaseLimiterFlg
  19. * @property bool invalidFlg
  20. */
  21. class SeasonTicketContractParam extends BaseParam
  22. {
  23. public function rules(): array
  24. {
  25. return [
  26. 'user_id' => $this->numeric(),
  27. 'season_ticket_contract_id' => $this->numeric(),
  28. 'parking_management_code' => $this->str(),
  29. 'season_ticket_seq_no' => $this->numeric(),
  30. 'expiration_start_date' => $this->date(true),
  31. 'expiration_end_date' => $this->date(true),
  32. 'vehicle_type_name' => $this->str(),
  33. 'parking_use_type_name' => $this->str(),
  34. 'contractor_type_line_no_name' => $this->str(),
  35. 'position_memo' => $this->str(true),
  36. 'memo' => $this->str(true),
  37. 'season_ticket_label_count' => $this->numeric(),
  38. 'season_ticket_label_count_release_limiter_flg' => $this->boolean(),
  39. 'invalid_flg' => $this->boolean(),
  40. ];
  41. }
  42. }