28 行
2.1 KiB
PHP
可执行文件
28 行
2.1 KiB
PHP
可执行文件
<?php
|
|
|
|
namespace Common\Model;
|
|
//[1.4.36]
|
|
class RetailSeckillModel extends BaseModel
|
|
{
|
|
protected $tableName = 'retail_seckill';
|
|
const ID = 'id'; //int(10) NOT NULL AUTO_INCREMENT,
|
|
const GID = 'gid'; //int(10) DEFAULT NULL COMMENT '商品id',
|
|
const SKU_ID = 'skuid'; //int(10) DEFAULT NULL COMMENT '规格id',
|
|
const STORE_ID = 'storeid'; //int(10) DEFAULT NULL COMMENT '门店ID',
|
|
const GOODS_SECKILL_PRICE = 'goods_seckill_price'; //decimal(10,2) DEFAULT NULL COMMENT '秒杀价',
|
|
const ACTIVE_NAME = 'active_name'; //varchar(60) DEFAULT NULL COMMENT '活动名称(废弃)',
|
|
const ACTIVE_TITLE = 'active_title'; //varchar(60) DEFAULT NULL COMMENT '活动标签',
|
|
const ACTIVE_START_TIME = 'active_starttime'; //varchar(20) DEFAULT NULL COMMENT '活动开始时间',
|
|
const ACTIVE_END_TIME = 'active_endtime'; //varchar(20) DEFAULT NULL COMMENT '活动结束时间',
|
|
const ACTIVE_CANCEL_TIME = 'active_canceltime'; //varchar(20) DEFAULT NULL COMMENT '活动取消时间',
|
|
const ACTIVE_APPOINTMENT_TIME = 'active_appointmenttime'; //varchar(20) DEFAULT NULL COMMENT '预约时间',
|
|
const ACTIVE_LIMIT_NUM = 'active_limit_num'; //int(10) DEFAULT NULL COMMENT '限购库存',
|
|
const START_BUY = 'startbuy'; //tinyint(10) DEFAULT '1' COMMENT '商品限购 1.开启2.未开启',
|
|
const ACTIVE_PERSONAL_LIMIT_NUM = 'active_personal_limit_num'; //int(10) DEFAULT NULL COMMENT '单人限购量',
|
|
const RISE_NUM = 'rise_num'; //DECIMAL(10,3) DEFAULT NULL COMMENT '起购数量',
|
|
const IS_CLUB_CARD = 'is_club_card'; //tinyint(10) DEFAULT '1' COMMENT '是否允许会员卡购买 默认1.允许 2.不允许',
|
|
const ACTIVE_STATUS = 'active_status'; //tinyint(10) DEFAULT '1' COMMENT '活动状态:1.正常的活动2.取消的活动3.删除的活动',
|
|
const ADD_TIME = 'addtime'; //varchar(20) DEFAULT NULL COMMENT '活动创建时间',
|
|
const SEND_TYPE = 'send_type'; //tinyint(1) DEFAULT '0' COMMENT '0允许配送和自提 1允许自提 2允许配送',
|
|
const SELL_NUMBER = 'sell_number'; //int(10) DEFAULT '0' COMMENT '销售数量',
|
|
} |