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

38 行
1.9 KiB
PHP
可执行文件

<?php
namespace Common\Model;
//[1.4.46]
use Think\Model;
/**
* 商户支付权限表
* Class MerchantPayAuthModel
* @package Common\Model
*/
class MerchantPayAuthModel extends BaseModel
{
protected $tableName = 'retail_pay_pattern_merchant';
// protected $fields = array(
// 'id', //int(10) unsigned NOT NULL AUTO_INCREMENT,
// 'merchant_id', //int(10) DEFAULT NULL COMMENT '商户id',
// 'general_pay_name', //varchar(50) DEFAULT '普通支付模式' COMMENT '普通支付模式',
// 'general_pay', //tinyint(3) DEFAULT '0' COMMENT '普通支付模式状态 0.关闭 1.开启',
// 'service_pay_name', //varchar(50) DEFAULT '服务商支付模式' COMMENT '服务商支付模式',
// 'service_pay', //tinyint(3) DEFAULT '0' COMMENT '服务商支付模式状态 0.关闭1.开启',
// 'new_continent_pay_name', //varchar(50) DEFAULT '新大陆支付模式' COMMENT '新大陆支付模式',
// 'new_continent_pay', //tinyint(3) DEFAULT '0' COMMENT '新大陆支付模式状态0.关闭1.开启',
// 'close_pay_type_name', //varchar(50) DEFAULT '商户选择支付方式' COMMENT '商户选择支付方式',
// 'close_pay_type', //tinyint(3) DEFAULT '0' COMMENT '商户选择实付设置 0 关闭 1 开启',
// );
const ID = 'id';
const MERCHANT_ID = 'merchant_id';
const GENERAL_PAY_NAME = 'general_pay_name';
const GENERAL_PAY = 'general_pay';
const SERVICE_PAY_NAME = 'service_pay_name';
const SERVICE_PAY = 'service_pay';
const CONTINENT_PAY_NAME = 'new_continent_pay_name';
const CONTINENT_PAY = 'new_continent_pay';
const SELECT_PAY_NAME = 'close_pay_type_name';
const SELECT_PAY = 'close_pay_type';
const CLOUD_PAY = 'cloud_pay';
const CLOUD_PAY_NAME = 'cloud_pay_name';
}