Files
fast_response/superadmin/application/admin/model/Mattertemplatecategorization.php
2025-04-15 11:37:51 +08:00

57 lines
975 B
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', 'id', 'id', [], 'LEFT')->setEagerlyType(0);
}
}