<?php
return array
(
    'source' => 'source/task_produce',
    'list' => array
    (
        'field'      => array
        (
            'id',
            'name',
            'cdate',
        ),
        'button' => array
        (
            '新增' => array('fastadd'),
        ),
        'data_button' => array
        (
            '编辑' => 'fastedit',
        ),
        'search'    => array
        (
            'name',
        ),
    ),
    'update' => array
    (
        //'desc' => '原创声明：',
        'field'    => array
        (
            'name' => array
            (
                'rules' => true,
            ),
            'cate_id' => array
            (
                'rules' => true,
            ),
            'times_id' => array
            (
                'rules' => true,
            ),
            'source/task_produce_content' => array
            (
                'name' => '内容素材',
                'where'  => array('produce_id' => 'id'),
            ),
            'source/task_produce_file' => array
            (
                'name' => '附件素材',
                'where'  => array('produce_id' => 'id'),
            ),
        ),
    ),
);