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

31 行
2.0 KiB
PHP
可执行文件

<?php
namespace Common\Model;
use Think\Model;
//[1.2.41]
/**
* plus会员设置表
* Class RetailPlusSetModel
* @package Common\Model
*/
class RetailPlusSetModel extends BaseModel
{
protected $tableName = 'retail_plus_set';
const ID = 'id'; // int(11) NOT NULL AUTO_INCREMENT,
const MERCHANT_ID = 'merchantid'; // int(11) DEFAULT NULL COMMENT '商户id',
const GALLERY_ID = 'gallery_id'; //varchar(255) DEFAULT '0' COMMENT '初始化图片id',
const TEXT = 'text'; //text COMMENT '百度编辑器',
const RENEW_GALLERY_ID = 'renew_gallery_id'; //varchar(255) DEFAULT '0' COMMENT '续费图片id',
const RENEW_TEXT = 'renew_text'; //text COMMENT '续费百度编辑器内容',
const SWITCH_TYPE = 'switch_type'; //tinyint(1) DEFAULT '1' COMMENT '1关闭 2开启 plus会员',
const RECHARGE_SWITCH_TYPE = 'recharge_switch_type'; //tinyint(1) DEFAULT '1' COMMENT '初始化单次充值成为plus会员 1关闭 2开启',
const PURCHASE_SWITCH_TYPE = 'purchase_switch_type'; //tinyint(1) DEFAULT '1' COMMENT '初始化直接购买成为plus会员 1关闭 2开启',
const PURCHASE_MONEY = 'purchase_money'; //decimal(10,2) DEFAULT '0.00' COMMENT '初始化直接购买的金额',
const RENEW_RECHARGE_SWITCH_TYPE = 'renew_recharge_switch_type'; //tinyint(1) DEFAULT '1' COMMENT '续费充值开关1 关闭 2开启',
const RENEW_PURCHASE_SWITCH_TYPE = 'renew_purchase_switch_type'; //tinyint(1) DEFAULT '1' COMMENT ' 续费直接购买 1关闭 2开启',
const RENEW_PURCHASE_MONEY = 'renew_purchase_money'; //decimal(10,2) DEFAULT '0.00' COMMENT '续费直接购买',
const GOODS_SWITCH_TYPE = 'goods_switch_type'; //tinyint(1) DEFAULT '1' COMMENT '是否开启单个plus商品 1关闭 2开启',
const GOODS_GROUP_SWITCH_TYPE = 'goods_group_switch_type'; //tinyint(1) DEFAULT '1' COMMENT '1关闭 2开启 (plus套餐组开关)',
const ADD_TIME = 'addtime'; //varchar(13) DEFAULT '' COMMENT '操作时间',
}