PunishmentOrderFilter.php 620 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. *
  4. *
  5. * @category xxx
  6. * @package PSR
  7. * @subpackage Documentation\API
  8. * @author xxx <xxx@xxx.com>
  9. * @license GPL https://xxx.com
  10. * @link https://xxx.com
  11. * @ctime: 2020/5/18 16:51
  12. */
  13. namespace App\Filters;
  14. use App\Filters\Traits\RelationUserFilter;
  15. class PunishmentOrderFilter extends Filter
  16. {
  17. use RelationUserFilter;
  18. protected $simpleFilters = [
  19. 'area_id',
  20. 'name' => ['like', '%?%'],
  21. 'no' => ['like', '%?%'],
  22. 'order_no' => ['like', '%?%'],
  23. 'merchant_id',
  24. ];
  25. protected $filters = [
  26. 'mobile_nickname',
  27. ];
  28. }