<?php
return array
(
    'name' => '订单统计表',
    'struct' => array
    (
        'day' => array
        (
            'name'      => '日期',
            'type'      => 'int(11)',
        ),

        'total_num'      => array
        (
            'name'      => '订单总数',
            'type'      => 'int(11)',
        ),

        'success_num'      => array
        (
            'name'      => '成功订单数',
            'type'      => 'int(11)',
        ),

        'error_num'      => array
        (
            'name'      => '失败订单数',
            'type'      => 'int(11)',
        ),

        'total_cash'      => array
        (
            'name'      => '总金额',
            'type'      => 'decimal(11,2)',
            'fields'    => true,
        ),

        'success_cash'      => array
        (
            'name'      => '成功金额',
            'type'      => 'decimal(11,2)',
            'fields'    => true,
        ),

        'error_cash'      => array
        (
            'name'      => '失败金额',
            'type'      => 'decimal(11,2)',
            'fields'    => true,
        ),

        'seller_actual_cash'      => array
        (
            'name'      => '实际成功金额',
            'type'      => 'decimal(11,2)',
            'fields'    => true,
        ),

        'channel_actual_cash'      => array
        (
            'name'      => '实际采购成功金额',
            'type'      => 'decimal(11,2)',
            'fields'    => true,
        ),

        'profit_cash'      => array
        (
            'name'      => '利润',
            'type'      => 'decimal(11,4)',
            'fields'    => true,
        ),
    ),
);