26 行
1.3 KiB
PHP
可执行文件
26 行
1.3 KiB
PHP
可执行文件
<?php
|
|
/*
|
|
* 门店盘点单模型 - 数据对象模型
|
|
*/
|
|
namespace Common\Model;
|
|
use Think\Model;
|
|
//[1.2.91]
|
|
class SInventoryOrderModel extends JBaseModel
|
|
{
|
|
protected $tableName = 'retail_store_inventory_order';
|
|
protected $fields = array(
|
|
'id', //int(11) NOT NULL AUTO_INCREMENT,
|
|
'merchant_id', //int(11) DEFAULT '0' COMMENT '商户id',
|
|
'store_id', //门店Id
|
|
'warehouse_id', //int(11) DEFAULT '0' COMMENT '仓库id',
|
|
'order_number', //varchar(255) DEFAULT '' COMMENT '订单号',
|
|
'amount', // decimal(10,2) DEFAULT '0.00' COMMENT '盈亏金额',
|
|
'quantity', // decimal(10,2) DEFAULT '0.00' COMMENT '盈亏数量',
|
|
'goods_species', //int(11) DEFAULT '0' COMMENT '商品总种类',
|
|
'remarks', //text COMMENT '备注',
|
|
'status', //tinyint(1) DEFAULT '0' COMMENT '0盘点失败 1盘点成功',
|
|
'add_time', //varchar(10) DEFAULT '' COMMENT '添加时间',
|
|
'operator_id', //操作人员id
|
|
'operator_type', //操作人身份 0 后台操作人(包括商户与店长) 1收银员
|
|
);
|
|
} |