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

29 line
721B

  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. * @property string $customerCode
  10. */
  11. class UseSummaryCSVParam extends BaseParam
  12. {
  13. public function rules(): array
  14. {
  15. return
  16. array_merge(
  17. [
  18. Repository::CONDITION_ORDER_DATE_FROM => $this->date(),
  19. Repository::CONDITION_ORDER_DATE_TO => $this->date(),
  20. Repository::CONDITION_CUSTOMER_CODE => $this->str(),
  21. ],
  22. );
  23. }
  24. }