feat(notice): 通知三表模型 Base/App 双层

This commit is contained in:
augushong
2026-10-12 10:53:00 +00:00
parent 3e465bf027
commit e35ab4b1be
6 changed files with 153 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace base\admin\model;
use app\common\model\TimeModel;
/**
* @property int $id
* @property int $admin_id 管理员ID
* @property string $scene 通知场景
* @property string $channel 投递渠道
* @property int $status 订阅状态 0:退订,1:订阅
* @property int $create_time 创建时间
* @property int $update_time 更新时间
*/
class SystemNoticeSubscribeBase extends TimeModel
{
/**
* 表无 delete_time 字段,显式关闭软删作用域.
* @var bool
*/
protected $deleteTime = false;
}