<?php

namespace app\order\model;

use fastphp\base\Model;

class CashOut extends Model
{
    protected $table = 'cash_out';

     /**
     * @description: 处理搜索
     * @param {*}
     * @return {*}
     */
    public function search($where = [], $fields = '*', $order = 'id desc', $limit = '50', $where_str = '')
    {
        return $this->field($fields)->where($where)->where($where_str)->order($order)->limit($limit)->fetchAll();
    }

}
