入群欢迎语功能提交

This commit is contained in:
wong
2026-01-09 17:05:17 +08:00
parent 2b128195bf
commit 66d217d5f1
33 changed files with 3827 additions and 37 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace app\cunkebao\model;
use think\Model;
/**
* 入群欢迎语工作台模型
*/
class WorkbenchGroupWelcome extends Model
{
protected $table = 'ck_workbench_group_welcome';
protected $pk = 'id';
protected $name = 'workbench_group_welcome';
// 自动写入时间戳
protected $autoWriteTimestamp = true;
protected $createTime = 'createTime';
protected $updateTime = 'updateTime';
// 定义关联的工作台
public function workbench()
{
return $this->belongsTo('Workbench', 'workbenchId', 'id');
}
}