|
- <?php
-
- namespace App\Http\Controllers\Web\Custom\HelloTechno;
-
- use App\Http\Controllers\Web\BaseParam;
- use App\Repositories\Custom\HelloTechno\ReceiptIssuingOrderRepository as Repository;
- use Illuminate\Support\Carbon;
-
- /**
- * @property ?string $id
- * @property ?string $customerCode
- * @property ?string $customerName
- * @property ?string $parkingManagementCode
- * @property ?string $parkingName
- * @property ?int $adjustSeqNo
- * @property ?bool $done
- * @property ?string $status
- * @property ?Carbon $orderDateFrom
- * @property ?Carbon $orderDateTo
- * @property ?string $smsPhoneNumber
- * @property ?string $handlerName
- */
-
- class ReceiptIssuingsOrdersParam extends BaseParam
- {
- public function rules(): array
- {
- return
- array_merge(
- [
- Repository::CONDITION_ID => $this->str(true),
- Repository::CONDITION_CUSTOMER_CODE => $this->str(true),
- Repository::CONDITION_CUSTOMER_NAME => $this->str(true),
- Repository::CONDITION_PARKING_MANAGEMENT_CODE => $this->str(true),
- Repository::CONDITION_PARKING_NAME => $this->str(true),
- Repository::CONDITION_ADJSUT_SEQ_NO => $this->numeric(true),
- Repository::CONDITION_SMS_PHONE_NUMBER => $this->str(true),
- Repository::CONDITION_DONE => $this->boolean(true),
- Repository::CONDITION_STATUS => $this->str(true),
- Repository::CONDITION_ORDER_DATE_FROM => $this->date(true),
- Repository::CONDITION_ORDER_DATE_TO => $this->date(true),
- Repository::CONDITION_HANDLER_NAME => $this->str(true),
- ],
- $this->sortableRules(),
- );
- }
- }
|