添加事项模版功能

This commit is contained in:
meimei
2025-04-15 11:37:51 +08:00
parent 24c924dddb
commit 5073ffccba
24 changed files with 1172 additions and 0 deletions

View File

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