25 行
1.1 KiB
PHP
可执行文件
25 行
1.1 KiB
PHP
可执行文件
<?php
|
|
/*
|
|
* 门店报损单模型 - 数据对象模型
|
|
*/
|
|
namespace Common\Model;
|
|
use Think\Model;
|
|
//[1.2.91]
|
|
class SLossReportOrderModel extends JBaseModel
|
|
{
|
|
protected $tableName = 'retail_store_loss_order';
|
|
protected $fields = array(
|
|
'id', //int(11) NOT NULL AUTO_INCREMENT,
|
|
'merchant_id', //int(11) DEFAULT '0' COMMENT '商户id',
|
|
'store_id', //门店Id
|
|
'warehouse_id', //int(11) DEFAULT '0' COMMENT '仓库id',
|
|
'order_number', //varchar(255) DEFAULT '' COMMENT '订单号',
|
|
'money_total', // decimal(10,2) DEFAULT '0.00' COMMENT '金额',
|
|
'goods_species', //int(11) DEFAULT '0' COMMENT '商品总种类',
|
|
'remarks', //text COMMENT '备注',
|
|
'status', //tinyint(1) DEFAULT '0' COMMENT '0未出库 1出库成功',
|
|
'add_time', //varchar(10) DEFAULT '' COMMENT '添加时间',
|
|
'operator_id', //操作人员id
|
|
);
|
|
|
|
} |