<?php
/*
 * @Descripttion: 
 * @version: 
 * @Author: kangkang
 * @Date: 2020-10-16 14:44:02
 * @LastEditors: kangkang
 * @LastEditTime: 2020-11-14 10:00:42
 */

namespace app\manager\model;

use fastphp\base\Model;

class Manager extends Model
{
    protected $table = 'manager';

    public function getAllList($where = []){
        return $this->field('id,RealName')->where($where)->where(['IsRoot'=>0,'RoleId'=>100])->fetchAll();
    }
}
