|
- <?php
-
- namespace App\Http\Controllers\Web\Custom\HelloTechno;
-
- use App\Http\Controllers\Web\BaseParam;
- use App\Models\ReceiptIssuingHTParkingCustomOrder as HT;
- use App\Models\ReceiptIssuingOrder;
-
- /**
- * @property ?string $id
- * @property ?string $customerCode
- * @property ?string $customerName
- * @property ?string $parkingManagementCode
- * @property ?string $parkingName
- * @property ?int $adjustSeqNo
- */
-
- class ReceiptIssuingsOrdersParam extends BaseParam
- {
- public function rules(): array
- {
- return
- array_merge(
- [
- ReceiptIssuingOrder::COL_NAME_ID => $this->str(true),
- HT::COL_NAME_CUSTOMER_CODE => $this->str(true),
- HT::COL_NAME_CUSTOMER_NAME => $this->str(true),
- HT::COL_NAME_PARKING_MANAGEMENT_CODE => $this->str(true),
- HT::COL_NAME_PARKING_NAME => $this->str(true),
- HT::COL_NAME_ADJUST_SEQ_NO => $this->numeric(true),
- ],
- $this->sortableRules(),
- );
- }
- }
|