|
- <?php
-
- namespace App\Http\Controllers\Web\HTICWeb;
-
- use App\Http\Controllers\Web\BaseParam;
- use Illuminate\Support\Carbon;
-
- /**
- * @property int userId
- * @property int seasonTicketContractId
- * @property int seasonTicketSeqNo
- * @property string parkingManagementCode
- * @property ?Carbon expirationStartDate
- * @property ?Carbon expirationEndDate
- * @property string vehicleTypeName
- * @property string parkingUseTypeName
- * @property string contractorTypeLineNoName
- * @property ?string positionMemo
- * @property ?string memo
- * @property bool invalidFlg
- */
- class SeasonTicketContractParam extends BaseParam
- {
- public function rules(): array
- {
- return [
- 'user_id' => $this->numeric(),
- 'season_ticket_contract_id' => $this->numeric(),
- 'parking_management_code' => $this->str(),
- 'season_ticket_seq_no' => $this->numeric(),
- 'expiration_start_date' => $this->date(true),
- 'expiration_end_date' => $this->date(true),
- 'vehicle_type_name' => $this->str(),
- 'parking_use_type_name' => $this->str(),
- 'contractor_type_line_no_name' => $this->str(),
- 'position_memo' => $this->str(true),
- 'memo' => $this->str(true),
- 'invalid_flg' => $this->boolean(),
- ];
- }
- }
|