first commit

This commit is contained in:
2026-05-07 16:37:25 +08:00
commit 822ed9a099
67 changed files with 1799 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace app\common\model;
use think\Model;
class CompanyOperators extends Model
{
protected $table = 'company_operators';
public function company()
{
return $this->belongsTo(Companys::class, 'company_id', 'id');
}
public function getCompanyNameAttr($value, $data)
{
return $this->company->company_name ?? null;
}
}