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

29 行
1.2 KiB
PHP
可执行文件

<?php
namespace Common\Model;
use Think\Model;
//[1.7.90]
/**
* 门店出库关联的串号信息表
* Class PurchaseGoodsModel
* @package Common\Model
*/
class SStockGoodsSerialModel extends JBaseModel
{
protected $tableName = 'retail_store_stock_out_goods_serial';
protected $fields = array(
'id', //int(11) NOT NULL AUTO_INCREMENT,
'merchant_id', //int(11) DEFAULT '0' COMMENT '商户Id',
'store_id',
'outside_id', //外部明细id
'goods_id', //商品id
'sku_id', //规格id
'type', //出库类型 出库类型 0其他出库 1退货商户出库 2盘亏出库 3调拨出库 4拼团出库 5秒杀出库 6拆分出库 7收银销售出库 8商城销售出库 9向供货商退货出库 10.组合出库 11.预售出库 12商城普通换货出库 13拼团换货出库 14秒杀换货出库 15预售换货出库 16收银赠品出库 17 商城赠品出库
'main_serial_number', //主串码
'auxiliary_serial_number_one', //辅助串码1
'auxiliary_serial_number_two', //辅助串码2
'add_time', //添加时间
'num', //数量
);
}