mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-11-08 03:50:50 +08:00
42 lines
1.4 KiB
PHP
42 lines
1.4 KiB
PHP
<?php
|
|
|
|
namespace app\admin\scheme;
|
|
|
|
use app\common\scheme\attribute\Field;
|
|
use app\common\scheme\attribute\Index;
|
|
use app\common\scheme\attribute\Table;
|
|
use app\common\scheme\BaseScheme;
|
|
|
|
#[Table(name: 'ul_system_notice', comment: '系统通知表')]
|
|
#[Index(columns: ['scene'], name: 'idx_scene', type: 'NORMAL')]
|
|
#[Index(columns: ['create_time'], name: 'idx_create_time', type: 'NORMAL')]
|
|
class SystemNotice extends BaseScheme
|
|
{
|
|
#[Field(type: 'int', length: 11, nullable: false, unsigned: true, autoIncrement: true, primary: true)]
|
|
public $id;
|
|
|
|
#[Field(type: 'varchar', length: 50, precision: 50, default: 'common', comment: '通知场景')]
|
|
public $scene;
|
|
|
|
#[Field(type: 'varchar', length: 255, precision: 255, comment: '通知标题')]
|
|
public $title;
|
|
|
|
#[Field(type: 'text', nullable: true, comment: '通知内容')]
|
|
public $content;
|
|
|
|
#[Field(type: 'varchar', length: 64, precision: 64, default: '', comment: '业务关联ID')]
|
|
public $biz_id;
|
|
|
|
#[Field(type: 'int', length: 11, default: '0', comment: '发送管理员ID', unsigned: true)]
|
|
public $send_admin_id;
|
|
|
|
#[Field(type: 'int', length: 11, default: '0', comment: '创建时间', unsigned: true)]
|
|
public $create_time;
|
|
|
|
#[Field(type: 'int', length: 11, default: '0', unsigned: true)]
|
|
public $update_time;
|
|
|
|
#[Field(type: 'int', length: 11, default: '0', unsigned: true)]
|
|
public $delete_time;
|
|
}
|