Files
fast_response/superadmin/application/admin/model/Firmcustomerorigin.php
2025-04-18 14:22:17 +08:00

45 lines
590 B
PHP
Executable File

<?php
namespace app\admin\model;
use think\Model;
class Firmcustomerorigin extends Model
{
// 表名
protected $name = 'firmcustomerorigin';
// 自动写入时间戳字段
protected $autoWriteTimestamp = false;
// 定义时间戳字段名
protected $createTime = false;
protected $updateTime = false;
protected $deleteTime = false;
// 追加属性
protected $append = [
];
public function firm()
{
return $this->belongsTo('Firm', 'firm_id', 'id', [], 'LEFT')->setEagerlyType(0);
}
}