Files
fast_response/superadmin/application/admin/model/Mattertemplatecategorization.php
meimei db0efbfc30 fixed
2025-04-16 14:10:39 +08:00

63 lines
1.1 KiB
PHP

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