mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-22 18:35:35 +08:00
152 lines
3.9 KiB
PHP
152 lines
3.9 KiB
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
$db['sms_sample_items'] = array (
|
||
'columns' => array(
|
||
'iid' => array(
|
||
'type' => 'int',
|
||
'required' => true,
|
||
'label' => 'id',
|
||
'pkey' => true,
|
||
'extra' => 'auto_increment',
|
||
'editable' => false,
|
||
),
|
||
'id'=>array(
|
||
'type' => 'int',
|
||
'required' => true,
|
||
'label' => '主模板id',
|
||
|
||
'editable' => false,
|
||
),
|
||
|
||
'sample_no' => array(
|
||
'type' => 'varchar(50)',
|
||
'required' => true,
|
||
'label' => '模板编号',
|
||
'in_list'=>true,
|
||
'default_in_list'=>true,
|
||
),
|
||
'title' => array(
|
||
'type' => 'varchar(50)',
|
||
'required' => true,
|
||
'label' => '模板标题',
|
||
'in_list'=>true,
|
||
'default_in_list'=>true,
|
||
),
|
||
'content' => array(
|
||
'type' => 'varchar(200)',
|
||
'required' => true,
|
||
'label' => '模板内容',
|
||
'in_list'=>true,
|
||
'default_in_list'=>true,
|
||
),
|
||
'status' => array(
|
||
'type' => array(
|
||
'0' => '关闭',
|
||
'1' => '开启',
|
||
),
|
||
'required' => true,
|
||
'default' => '1',
|
||
'in_list'=>true,
|
||
'label' => '模板状态',
|
||
'default_in_list'=>true,
|
||
),
|
||
|
||
'approved' =>
|
||
array (
|
||
'type' =>array(
|
||
'0'=>'等待审核',
|
||
'1'=>'通过',
|
||
'2'=>'拒绝',
|
||
),
|
||
'default' => '0',
|
||
'required' => true,
|
||
'label' => '审核状态',
|
||
'width' => 75,
|
||
'hidden' => true,
|
||
'editable' => false,
|
||
'in_list'=>true,
|
||
'default_in_list'=>true,
|
||
),
|
||
'sync_status' =>
|
||
array (
|
||
'type' => 'bool',
|
||
'default' => 'false',
|
||
'required' => true,
|
||
'label' => '同步状态',
|
||
'width' => 75,
|
||
'hidden' => true,
|
||
'editable' => false,
|
||
'in_list'=>true,
|
||
'default_in_list'=>true,
|
||
),
|
||
'sync_reason' =>
|
||
array (
|
||
'type' => 'varchar(200)',
|
||
|
||
|
||
'label' => '原因',
|
||
'width' => 75,
|
||
'hidden' => true,
|
||
'editable' => false,
|
||
'in_list'=>true,
|
||
'default_in_list'=>true,
|
||
),
|
||
'tplid' =>
|
||
array (
|
||
'type' => 'varchar(25)',
|
||
'label' => '外部模板ID',
|
||
|
||
),
|
||
'disabled' =>
|
||
array (
|
||
'type' => 'bool',
|
||
'required' => true,
|
||
'default' => 'false',
|
||
'editable' => false,
|
||
),
|
||
'isapproved'=>array(
|
||
'type' => 'bool',
|
||
'required' => true,
|
||
'default' => 'false',
|
||
'editable' => false,
|
||
'comment' => '是否审核',
|
||
),
|
||
'op_name' =>
|
||
array (
|
||
'type' => 'varchar(30)',
|
||
'editable' => false,
|
||
'comment' => '操作员',
|
||
),
|
||
'createtime' => array(
|
||
'type' => 'time',
|
||
|
||
'label' => '创建时间',
|
||
'in_list'=>true,
|
||
'default_in_list'=>true,
|
||
),
|
||
'approvedtime' => array(
|
||
'type' => 'time',
|
||
|
||
'label' => '审核时间',
|
||
'in_list'=>true,
|
||
'default_in_list'=>true,
|
||
),
|
||
),
|
||
'index' =>
|
||
array (
|
||
'ind_id' =>
|
||
array (
|
||
'columns' =>
|
||
array (
|
||
0 => 'id',
|
||
),
|
||
),
|
||
),
|
||
'comment' => '短信模板明细表',
|
||
'version' => '$Rev: 44514 $',
|
||
);
|