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

25 行
953 B
PHP
可执行文件

<?php
namespace Common\Model;
//拆分组合记录表
use Think\Model;
//[1.4.70]
class StoreSplitRecordModel extends JBaseModel
{
protected $tableName = 'retail_store_split_record';
protected $fields = array(
"id", //int(11) NOT NULL AUTO_INCREMENT,
"rule_id", //int(11) DEFAULT '0' COMMENT '规格id',
"merchant_id", //int(11) DEFAULT NULL COMMENT '商户id',
"store_id", //int(11) DEFAULT NULL COMMENT '门店id',
"operator_id", //操作人id
"large_num", //decimal(11,3) DEFAULT NULL COMMENT '大件数量',
"small_num", //decimal(11,3) DEFAULT NULL COMMENT '小件数量',
"add_time", //varchar(10) DEFAULT '' COMMENT '添加时间',
"type", //tinyint(1) DEFAULT '1' COMMENT ' 1拆分 2组合',
"status", //tinyint(1) DEFAULT '0' COMMENT '0失败 1正常',
"large_company",//大件商品单位
"small_company" //小件商品单位
);
}