SettlementBillDetailInterface.php 598 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace App\Interfaces;
  3. use Illuminate\Database\Eloquent\Builder;
  4. interface SettlementBillDetailInterface
  5. {
  6. /**
  7. * @param $owner_id
  8. * @param $counting_month
  9. * @return Builder
  10. */
  11. public function getSql($owner_id, $counting_month): Builder;
  12. /**
  13. * @param $type
  14. * @return int|mixed
  15. */
  16. public function switchType($type);
  17. public function buildExport($details): array;
  18. /**
  19. * @param array $model
  20. * @return mixed
  21. */
  22. public function add(array $model);
  23. public function getTotalFee($owner_id, $counting_month);
  24. }