領収証発行サービス
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.0KB

  1. <?php
  2. namespace App\Http\Controllers\Web\Custom\HelloTechno;
  3. use App\Http\Controllers\Web\BaseParam;
  4. use App\Models\ReceiptIssuingHTParkingCustomOrder as HT;
  5. use App\Models\ReceiptIssuingOrder;
  6. /**
  7. * @property ?string $id
  8. * @property ?string $customerCode
  9. * @property ?string $customerName
  10. * @property ?string $parkingManagementCode
  11. * @property ?string $parkingName
  12. * @property ?int $adjustSeqNo
  13. */
  14. class ReceiptIssuingsOrdersParam extends BaseParam
  15. {
  16. public function rules(): array
  17. {
  18. return
  19. array_merge(
  20. [
  21. ReceiptIssuingOrder::COL_NAME_ID => $this->str(true),
  22. HT::COL_NAME_CUSTOMER_CODE => $this->str(true),
  23. HT::COL_NAME_CUSTOMER_NAME => $this->str(true),
  24. HT::COL_NAME_PARKING_MANAGEMENT_CODE => $this->str(true),
  25. HT::COL_NAME_PARKING_NAME => $this->str(true),
  26. HT::COL_NAME_ADJUST_SEQ_NO => $this->numeric(true),
  27. ],
  28. $this->sortableRules(),
  29. );
  30. }
  31. }