<?php
return array
(
    'name' => '商品分类表',
    'struct' => array
    (
        'name' => array
        (
            'name'      => '分类名称',
            'type'      => 'varchar(32)',
        ),
        'key' => array
        (
            'name'      => '分类标识',
            'type'      => 'varchar(32)',
        ),
        'rule' => array
        (
            'name'      => '验证正则',
            'type'      => 'varchar(200)',
        ),
    ),
    'default' => array
    (
        'field' => 'name,`key`,rule,cdate',
        'value' => array
        (
            '"话费","hf","/^1\d{10}$/",' . DEVER_TIME,
            '"中石化","zsh","/^1\d{18}$/",' . DEVER_TIME,
            '"中石油","zsy","/^(?:7|9)\d{15}$/",' . DEVER_TIME,
            '"权益卡","qyk","",' . DEVER_TIME,
            '"卡密","km","",' . DEVER_TIME,
        ),
        'num' => 1,
    ),
);