1234567891011121314151617181920212223242526272829 |
- <?php
- namespace app\admin\model\institution;
- use think\Model;
- class Depart extends Model
- {
- // 表名
- protected $table = 'department';
- // 设置当前模型的数据库连接
- protected $connection = [
- // 数据库表前缀
- 'prefix' => '',
- ];
-
- }
|