20 行
1.4 KiB
PHP
可执行文件
20 行
1.4 KiB
PHP
可执行文件
<?php
|
||
|
||
namespace Common\Model;
|
||
//[1.2.41]
|
||
class RetailMCouponGroupModel extends BaseModel
|
||
{
|
||
protected $tableName = 'retail_mcoupon_group';
|
||
const ID = 'id'; //int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||
const MERCHANT_ID = 'merchantid'; //int(10) DEFAULT NULL,
|
||
const COUPON_GROUP_NAME = 'coupon_group_name'; //varchar(50) DEFAULT NULL COMMENT '券包名称',
|
||
const COUPON_GROUP_ALL_NUM = 'coupon_group_allnum'; //int(10) DEFAULT NULL COMMENT '券包数量库存',
|
||
const COUPON_GROUP_NUM = 'coupon_group_num'; //int(10) DEFAULT NULL COMMENT '券包剩余数量',
|
||
const COUPON_GROUP_MONEY = 'coupon_group_money'; //decimal(10,2) DEFAULT NULL COMMENT '券包金额',
|
||
const STORE_IDS = 'storeids'; //text COMMENT '商铺id,可用店铺id:0,全部店铺可用,其他:可用店铺id连接:以'',''连接。',
|
||
const GRADE_IDS = 'gradeids'; //text COMMENT '优惠券发放用户vip等级:0、所有用户;其他:以等级id连接。 ',
|
||
const GIVE_STATUS = 'give_status'; //tinyint(1) DEFAULT '1' COMMENT '发放类型 1. 自主发放 2. 充值赠送',
|
||
const RECHARGE_MONEY = 'recharge_money'; //decimal(10,2) DEFAULT NULL COMMENT '充值金额',
|
||
const STATUS = 'status'; //tinyint(1) DEFAULT '1' COMMENT '券包类型 1.正常 2.关闭 3.删除',
|
||
const ADD_TIME = 'addtime'; //varchar(20) DEFAULT NULL COMMENT '创建时间',
|
||
} |