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

20 行
1.2 KiB
PHP
可执行文件

<?php
namespace Common\Model;
//[1.3.40]
/**
* 次卡,卡包关联商品
* Class RetailCardOrderModel
* @package Common\Model
*/
class RetailCardOrderModel extends BaseModel
{
const ID = 'id'; // `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
const MERCHANT_ID = 'merchant_id'; // `merchant_id` int(10) NOT NULL DEFAULT '0' COMMENT '商户id',
const STORE_ID = 'store_id'; // `store_id` int(10) NOT NULL DEFAULT '0' COMMENT '购买门店id',
const VIP_ID = 'vip_id'; // `vip_id` int(10) NOT NULL DEFAULT '0' COMMENT '购买会员id',
const TYPE = 'type'; // `type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '类型 1.次卡 2.卡包',
const CARD_ID = 'card_id'; // `card_id` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'type=1时 sub_card表主键id type=2时 card_bag表主键id',
const STATE = 'state'; // `state` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0.未支付 1.已支付',
const PAY_ORDER_ID = 'pay_order_id'; // `pay_order_id` int(10) NOT NULL DEFAULT '0' COMMENT 'pay_order表主键id',
const BILL_ID = 'bill_id'; // `bill_id` int(10) DEFAULT '0' COMMENT 'bill_order主键id',
}