Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

42 lines
1.3KB

  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 bool invalidFlg
  18. */
  19. class SeasonTicketContractParam extends BaseParam
  20. {
  21. public function rules(): array
  22. {
  23. return [
  24. 'user_id' => $this->numeric(),
  25. 'season_ticket_contract_id' => $this->numeric(),
  26. 'parking_management_code' => $this->str(),
  27. 'season_ticket_seq_no' => $this->numeric(),
  28. 'expiration_start_date' => $this->date(true),
  29. 'expiration_end_date' => $this->date(true),
  30. 'vehicle_type_name' => $this->str(),
  31. 'parking_use_type_name' => $this->str(),
  32. 'contractor_type_line_no_name' => $this->str(),
  33. 'position_memo' => $this->str(true),
  34. 'memo' => $this->str(true),
  35. 'invalid_flg' => $this->boolean(),
  36. ];
  37. }
  38. }