mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-22 18:35:35 +08:00
96 lines
3.2 KiB
PHP
96 lines
3.2 KiB
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
/**
|
||
* @Author: xueding@shopex.cn
|
||
* @Vsersion: 2022/10/14
|
||
* @Describe: 模板接收用户信息
|
||
*/
|
||
|
||
$db['event_receiver'] = array(
|
||
'columns' => array(
|
||
'id' => array(
|
||
'type' => 'int unsigned',
|
||
'required' => true,
|
||
'pkey' => true,
|
||
'extra' => 'auto_increment',
|
||
'label' => 'ID',
|
||
'width' => 110,
|
||
'hidden' => true,
|
||
'editable' => false,
|
||
),
|
||
'event_type' => array(
|
||
'type' => 'text',
|
||
// 'required' => true,
|
||
'label' => '触发事件',
|
||
'comment' => '触发事件',
|
||
'editable' => false,
|
||
'in_list' => false,
|
||
'default_in_list' => false,
|
||
'order' => 10,
|
||
),
|
||
'receiver' => array(
|
||
'type' => 'varchar(50)',
|
||
'label' => '收件人',
|
||
'comment' => '收件人',
|
||
'editable' => false,
|
||
'searchtype' => 'nequal',
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'filtertype' => 'normal',
|
||
'filterdefault' => true,
|
||
'order' => 20,
|
||
),
|
||
'send_type' => array(
|
||
'type' => array(
|
||
'sms' => '短信',
|
||
'email' => '邮箱',
|
||
),
|
||
'default' => 'email',
|
||
'label' => '发送类型',
|
||
'comment' => '发送类型',
|
||
'editable' => false,
|
||
'filtertype' => 'yes',
|
||
'filterdefault' => true,
|
||
),
|
||
'org_id' => array(
|
||
'type' => 'varchar(200)',
|
||
'label' => '运营组织',
|
||
'editable' => false,
|
||
'width' => 150,
|
||
'filtertype' => 'normal',
|
||
'filterdefault' => false,
|
||
'in_list' => false,
|
||
'default_in_list' => false,
|
||
),
|
||
'at_time' => array(
|
||
'type' => 'TIMESTAMP',
|
||
'label' => '创建时间',
|
||
'comment' => '创建时间',
|
||
'default' => 'CURRENT_TIMESTAMP',
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 30,
|
||
),
|
||
'up_time' => array(
|
||
'type' => 'TIMESTAMP',
|
||
'label' => '修改时间',
|
||
'comment' => '修改时间',
|
||
'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP',
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 40,
|
||
),
|
||
|
||
),
|
||
'index' => array(
|
||
'ind_receiver' => array('columns' => array('receiver',) , 'prefix' => 'unique'),
|
||
),
|
||
'comment' => '预警配置',
|
||
'engine' => 'innodb',
|
||
'version' => '$Rev: $',
|
||
);
|