1234567891011121314151617181920 |
- <?php
- namespace app\admin\model;
- use think\Model;
- class Mobile extends \app\common\model\Mobile
- {
- // 追加属性
- protected $append = [
- ];
- public function info()
- {
- return parent::info()->setEagerlyType(0); // TODO: Change the autogenerated stub
- }
- public function proxy(){
- return $this->belongsTo(Admin::class,'proxy_id')->setEagerlyType(0);
- }
- }
|