<?php namespace app\common\model; class RoleInfo extends \think\Model { protected $pk = 'id'; protected $table = 'cy_role_info'; }