add:标签,球馆

This commit is contained in:
2025-04-29 15:55:35 +08:00
parent 32612f3103
commit 0bd7421371
32 changed files with 2422 additions and 2 deletions

View File

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

View File

@@ -0,0 +1,40 @@
<?php
namespace app\admin\model\zy;
use think\Model;
class Tags extends Model
{
// 表名
protected $table = 'zy_tags';
// 自动写入时间戳字段
protected $autoWriteTimestamp = false;
// 定义时间戳字段名
protected $createTime = false;
protected $updateTime = false;
protected $deleteTime = false;
// 追加属性
protected $append = [
];
}