領収証発行サービス
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.

28 lines
653B

  1. <?php
  2. namespace App\Http\Controllers\Web\Custom\HelloTechno;
  3. use App\Http\Controllers\Web\BaseParam;
  4. use App\Repositories\Custom\HelloTechno\UseSummaryRepository as Repository;
  5. use Illuminate\Support\Carbon;
  6. /**
  7. * @property Carbon $dateFrom
  8. * @property Carbon $dateTo
  9. */
  10. class UseSummariesParam extends BaseParam
  11. {
  12. public function rules(): array
  13. {
  14. return
  15. array_merge(
  16. [
  17. Repository::CONDITION_ORDER_DATE_FROM => $this->date(),
  18. Repository::CONDITION_ORDER_DATE_TO => $this->date(),
  19. ],
  20. $this->sortableRules(),
  21. );
  22. }
  23. }