123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- namespace app\admin\model\institution;
- use think\Model;
- class Institution extends Model
- {
- // 表名
- protected $table = 'institution';
- // 设置当前模型的数据库连接
- protected $connection = [
- // 数据库表前缀
- 'prefix' => '',
- ];
-
- // 自动写入时间戳字段
- protected $autoWriteTimestamp = false;
- // 定义时间戳字段名
- protected $createTime = false;
- protected $updateTime = false;
- protected $deleteTime = false;
- // 追加属性
- protected $append = [
- ];
-
-
- }
|