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

29 行
1.4 KiB
PHP
可执行文件

<?php
namespace Common\Model;
use Think\Model;
//[1.7.90]
/**
* 门店入库记录联的串码表
* Class WarehouseGoodsSerialModel
* @package Common\Model
*/
class SWarehouseGoodsSerialModel extends JBaseModel
{
protected $tableName = 'retail_store_warehouse_goods_serial';
protected $fields = array(
'id', //int(11) NOT NULL AUTO_INCREMENT,
'merchant_id', //int(11) DEFAULT '0' COMMENT '商户Id',
'store_id', //门店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预售退货入库 18预售换货入库 19收银赠品退货入库 20 商城赠品退货入库 21门店调拨拒收入库
'main_serial_number', //主串码
'auxiliary_serial_number_one', //辅助串码1
'auxiliary_serial_number_two', //辅助串码2
'add_time', //添加时间
'num', //数量
);
}