文件
mashangyoujiu/Application/Common/Model/InventoryOrderModel.class.php

24 行
1.1 KiB
PHP
可执行文件

<?php
/*
* 商户盘点单模型 - 数据对象模型
*/
namespace Common\Model;
use Think\Model;
//[1.2.91]
class InventoryOrderModel extends JBaseModel
{
protected $tableName = 'retail_inventory_order';
protected $fields = array(
'id', //int(11) NOT NULL AUTO_INCREMENT,
'merchant_id', //int(11) DEFAULT '0' COMMENT '商户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
);
}