28 行
1020 B
PHP
可执行文件
28 行
1020 B
PHP
可执行文件
<?php
|
|
|
|
namespace Common\Model;
|
|
|
|
use Think\Model;
|
|
//[1.7.90]
|
|
/**
|
|
* 商户入库记录联的串码表
|
|
* Class WarehouseGoodsSerialModel
|
|
* @package Common\Model
|
|
*/
|
|
class WarehouseGoodsSerialModel extends JBaseModel
|
|
{
|
|
protected $tableName = 'retail_warehouse_goods_serial';
|
|
protected $fields = array(
|
|
'id', //int(11) NOT NULL AUTO_INCREMENT,
|
|
'merchant_id', //int(11) DEFAULT '0' COMMENT '商户Id',
|
|
'outside_id', //外部明细id
|
|
'goods_id', //商品id
|
|
'sku_id', //规格id
|
|
'type', //入库类型 0其他入库 1采购入库 2补货入库 3盘盈入库 4退货入库 5初始化入库 6商户调拨门店拒收入库 7.门店申请调拨拒收入库
|
|
'main_serial_number', //主串码
|
|
'auxiliary_serial_number_one', //辅助串码1
|
|
'auxiliary_serial_number_two', //辅助串码2
|
|
'add_time', //添加时间
|
|
'num', //数量
|
|
);
|
|
} |