領収証発行サービス
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

36 行
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. }