init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)
这个提交包含在:
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* 商户调价单商品模型 - 数据对象模型
|
||||
*/
|
||||
namespace Common\Model;
|
||||
use Think\Model;
|
||||
//[1.5.46]
|
||||
class SModifyPriceGoodsModel extends JBaseModel
|
||||
{
|
||||
protected $tableName = 'retail_store_modify_price_goods';
|
||||
protected $fields = array(
|
||||
'id', //int(11) NOT NULL AUTO_INCREMENT,
|
||||
'merchant_id', //int(11) DEFAULT '0' COMMENT '商户Id',
|
||||
'store_id', //门店id
|
||||
'modify_price_order_id', //int(11) DEFAULT '0' COMMENT '调价单表id '
|
||||
'warehouse_id', //int(11) DEFAULT '0' COMMENT '供给仓库id',
|
||||
'goods_id', //int(11) DEFAULT '0' COMMENT '商户商品id',,
|
||||
'sku_id', //int(11) DEFAULT '0' COMMENT '规格id',,
|
||||
'goods_name', //varchar(255) DEFAULT '' COMMENT '商品名称',
|
||||
'sku_name', //varchar(255) DEFAULT '' COMMENT '规格名称'
|
||||
'sku_id_list', //规格名称
|
||||
'goods_class_id', //int(11) DEFAULT '0' COMMENT '分类id',
|
||||
'goods_number', //varchar(20) DEFAULT '' COMMENT '商品货号'
|
||||
'sku_goods_number', //规格货号
|
||||
'goods_code', //varchar(30) DEFAULT '' COMMENT '条码',
|
||||
'sku_code', //varchar(30) DEFAULT '' COMMENT '规格条码',
|
||||
'company', //varchar(255) DEFAULT '' COMMENT '单位',
|
||||
'attribute_state', //tinyint(1) DEFAULT '1' COMMENT '规格开关 是否是规格 1关闭 2开启',
|
||||
'pricing_method', //tinyint(1) DEFAULT '1' COMMENT '称重开关:是否称重 1:关闭 2:开启'
|
||||
'purchase_price', //decimal(10,2) DEFAULT NULL COMMENT '原成本价',
|
||||
'cost_price', //decimal(10,2) DEFAULT NULL COMMENT '修改后的成本价',
|
||||
'sku_num', //规格基数
|
||||
'remarks', //text COMMENT '备注',
|
||||
'order_number', //调价订单号
|
||||
'add_time', //varchar(10) DEFAULT NULL COMMENT '添加时间',
|
||||
'type', //1初始化入库 2采购单 3其他入库
|
||||
);
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户