Files
OMS/app/taoexlib/dbschema/sms_sample.php
2025-12-28 23:13:25 +08:00

116 lines
3.0 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
$db['sms_sample'] = array (
'columns' => array(
'id' => array(
'type' => 'int',
'required' => true,
'label' => '模板id',
'pkey' => true,
'extra' => 'auto_increment',
'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,
),
'send_type' => array(
'type' => array(
'delivery' => '发货',
'o2opickup' => '门店自提',
'o2oship' => '门店配送',
'einvoice' => '电子发票',
'express'=>'发货揽收',
'received'=>'发货签收',
'login'=>'登录',
),
'required' => true,
'in_list'=>true,
'default_in_list'=>true,
'label' => '发送节点',
),
'isapproved'=>array(
'type' => 'bool',
'required' => true,
'default' => 'false',
'editable' => false,
'comment' => '审核成功即开启',
),
'disabled' =>
array (
'type' => 'bool',
'required' => true,
'default' => 'false',
'editable' => false,
),
'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,
),
'tplid' =>
array (
'type' => 'varchar(25)',
'label' => '外部模板ID',
),
),
'index' =>
array (
'ind_send_type' =>
array (
'columns' =>
array (
0 => 'send_type',
),
),
),
'comment' => '短信模板',
'version' => '$Rev: 44514 $',
);