Files
lgp-admin-plus-api/app/BaseApp/BaseBusinessModel.php
LQ bcf54c2727 初始化
缺陷:主题配色需要优化整体的同风格
2026-08-14 23:21:21 +08:00

16 lines
448 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
namespace App\BaseApp;
/**
* 业务表模型基类
*
* 业务表与系统表同库不同前缀(系统表 nl_ / 业务表 cc_
* 故业务表走独立的 business 连接。所有 cc_* 表的 Model 都应继承本类而不是 BaseModel。
* 代码生成器产出的 Model 默认继承 BaseModel用于业务表时需手工改成本类。
*/
class BaseBusinessModel extends BaseModel
{
protected $connection = 'business';
}