<?php
/*
$extend = Dever::load('common', 'manage')->extend();
$zone_id = $extend['data_id'];
*/
return array
(
    'source' => 'source/cate',
    'list' => array
    (
        'field'      => array
        (
            'id',
            'name',
            'status' => array
            (
                'type' => 'switch',
                'show'  => '{status}',
                'active_value' => 1,
                'inactive_value' => 2,
            ),
            'cdate',
        ),
        'button' => array
        (
            '新增' => array('add'),
        ),
        'data_button' => array
        (
            '编辑' => 'edit',
        ),
        'search'    => array
        (
            'name',
            'status',
        ),
    ),
    'update' => array
    (
        'field'    => array
        (
            'name',
            'desc' => 'textarea',
        ),
    ),
);