文件
mashangyoujiu/Application/Distribution/Model/ApplyModel.class.php

28 行
1.2 KiB
PHP
可执行文件

<?php
namespace Distribution\Model;
use Think\Model;
/**
* 分销员申请表
* Class ApplyModel
* @package Distribution\Model
*/
class ApplyModel extends \Common\Model\BaseModel
{
protected $tableName = 'distribution_apply';
protected $fields = array(
'id', //int(11) NOT NULL AUTO_INCREMENT,
'merchant_id', //int(11) NOT NULL DEFAULT '0' COMMENT '商户id',
'phone_number', //varchar(50) DEFAULT '' COMMENT '手机号',
'uid', //int(11) DEFAULT '0' COMMENT '小程序用户ID',
'inviter_uid', //int(11) DEFAULT '0' COMMENT '邀请人ID',
'add_time', //int(11) DEFAULT '0 NULL COMMENT '加入时间',
'status', //tinyint(1) DEFAULT '0' COMMENT '状态 0待审核 1已审核 -1驳回 2无需审核',
'back_reason', //varchar(50) NOT NULL DEFAULT '' COMMENT '驳回原因',
'edit_time', //int(11) DEFAULT '0 NULL COMMENT '操作时间',
'operator_id', //int(11) NOT NULL DEFAULT '0' COMMENT '操作人ID',
);
}