30 行
1.6 KiB
PHP
可执行文件
30 行
1.6 KiB
PHP
可执行文件
<?php
|
|
/*
|
|
* 商户入库单模型 - 数据对象模型
|
|
*/
|
|
namespace Common\Model;
|
|
use Think\Model;
|
|
//[1.2.91]
|
|
class WarehousingRecordModel extends JBaseModel
|
|
{
|
|
protected $tableName = 'retail_warehousing_record';
|
|
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',
|
|
'supplier_id', //int(11) DEFAULT '0' COMMENT '供货商id',
|
|
'stock_out_id', //退货入库门店的出库单id
|
|
'order_number', //varchar(255) DEFAULT '' COMMENT '订单号',
|
|
'goods_species', //int(11) DEFAULT '0' COMMENT '商品总种类',
|
|
'money_total', // decimal(10,2) DEFAULT '0.00' COMMENT '金额',
|
|
'real_goods_species', //实际入库商品种类
|
|
'real_money_total', //实际入库金额
|
|
'remarks', //text COMMENT '备注',
|
|
'status', //tinyint(1) DEFAULT '0' COMMENT '0未入库 1入库成功',
|
|
'type', //入库类型 0其他入库 1采购入库 2补货入库 3盘盈入库 4退货入库
|
|
'add_time', //varchar(10) DEFAULT '' COMMENT '添加时间',
|
|
'retreat_time', //退货时间
|
|
'operator_id', //操作人员id
|
|
);
|
|
} |