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.

32 lines
830B

  1. <?php
  2. namespace App\Http\Controllers\Web\SeasonTicketContract;
  3. use App\Http\Controllers\Web\BaseParam;
  4. use Illuminate\Support\Carbon;
  5. /**
  6. * @property string $seasonTicketContractRecordNo
  7. * @property string $parkingName
  8. * @property Carbon $terminateDate
  9. * @property string reason
  10. * @property ?string reasonDetail
  11. * @property ?string opinion
  12. * @property ?string memo
  13. */
  14. class TerminationOrderParams extends BaseParam
  15. {
  16. public function rules(): array
  17. {
  18. return [
  19. 'season_ticket_contract_record_no' => $this->str(),
  20. 'parking_name' => $this->str(),
  21. 'terminate_date' => $this->date(),
  22. 'reason' => $this->str(),
  23. 'reason_detail' => $this->str(true),
  24. 'opinion' => $this->str(true),
  25. 'memo' => $this->str(true),
  26. ];
  27. }
  28. }