init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)

这个提交包含在:
Developer
2026-10-30 10:18:50 +08:00
当前提交 1f3e0ce2f6
共有 9291 个文件被更改,包括 1776674 次插入 和 0 次删除

查看文件

@@ -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其他入库
);
}