This commit is contained in:
2025-04-26 11:07:05 +08:00
commit abf553c41b
4942 changed files with 930993 additions and 0 deletions

View File

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