123456789101112131415161718 |
- <?php
- declare (strict_types = 1);
- namespace app\admin\model;
- use think\Model;
- /**
- * @mixin \think\Model
- */
- class TradePool extends Model
- {
- //
- public function Company()
- {
- return $this->belongsTo(CompanyInfo::class,"companyNo",'companyNo')->bind(["companyName"=>"company_name"]);
- }
- }
|