PatientInfoModel.php 303 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace app\admin\model\patient;
  3. use think\Model;
  4. class PatientInfoModel extends Model
  5. {
  6. // 表名
  7. protected $table = 'patient_infos';
  8. // 设置当前模型的数据库连接
  9. protected $connection = [// 数据库表前缀
  10. 'prefix' => ''
  11. ];
  12. }