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

109 lines
2.9 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.
*/
/**
* 定义打印批次主表结构
*
* @author hzjsq@msn.com
* @version 0.1b
*/
$db['print_queue'] = array(
'columns' =>
array(
'queue_id' =>
array(
'type' => 'number',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'editable' => false,
),
'md5' =>
array(
'type' => 'varchar(32)',
'required' => true,
'editable' => false,
'default_in_list' => false,
'in_list' => false,
),
'crc' =>
array(
'type' => 'bigint',
'required' => true,
'editable' => false,
),
'opt_id' =>
array(
'type' => 'number',
'required' => true,
'editable' => false,
'in_list' => false,
),
'opt_name' =>
array(
'type' => 'varchar(64)',
'required' => true,
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'label' => '打印者',
'comment' => '执行打印的用户s',
),
'ident' =>
array(
'type' => 'varchar(64)',
'required' => true,
'editable' => false,
'in_list' => true,
'default'=>'',
'default_in_list' => true,
'label' => '批次号',
'comment' => '本次打印的批次号',
),
'create_time' =>
array(
'type' => 'time',
'required' => true,
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'label' => '创建时间',
'comment' => '第一次打引时间',
),
'dly_num' =>
array(
'type' => 'number',
'required' => true,
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'label' => '发货单数',
'comment' => '任务中发货单数量',
),
'dly_bns' =>
array(
'type' => 'text',
'required' => true,
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'label' => '发货单编号',
'comment' => '任务中发货单的编号集合',
),
'dly_orders' =>
array(
'type' => 'text',
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'label' => '订单编号',
'comment' => '任务中订单号集合',
),
),
'comment' => '打印批次主表结构',
'engine' => 'innodb',
'version' => '$Rev: $',
);