19 行
1.2 KiB
PHP
可执行文件
19 行
1.2 KiB
PHP
可执行文件
<?php
|
||
namespace Common\Model;
|
||
//[1.2.41]
|
||
class RetailPromotionGoodsModel extends BaseModel
|
||
{
|
||
protected $tableName = 'retail_promotion_goods';
|
||
const ID = 'id'; //int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||
const GOODS_ID = 'goods_id'; //int(10) DEFAULT '0' COMMENT '商品id',
|
||
const SKU_ID = 'sku_id'; //int(10) DEFAULT '0' COMMENT '规格id',
|
||
const PROMOTION_ID = 'promotion_id'; //int(10) DEFAULT '0' COMMENT '促销(promotion表)id',
|
||
const STORE_PROMOTION_PRICE = 'store_promotion_price'; //decimal(10,2) DEFAULT NULL COMMENT '店内促销价',
|
||
const XCX_PROMOTION_PRICE = 'xcx_promotion_price'; //decimal(10,2) DEFAULT NULL COMMENT '商城促销价',
|
||
const BUNDLE_NUMBER = 'bundle_number'; //decimal(10,3) DEFAULT NULL COMMENT '捆绑数量',
|
||
const PRESELL_SINGULAR = 'presell_singular'; //int(10) DEFAULT '0' COMMENT '预售单数',
|
||
const RESIDUE_SINGULAR = 'residue_singular'; //int(10) DEFAULT '0' COMMENT '剩余单数',
|
||
const LIMIT_NUM = 'limit_num'; //int(10) DEFAULT '0' COMMENT '限购次数 0 为不限制',
|
||
const XCX_PRICE = 'xcx_price'; //decimal(10,2) DEFAULT '0.00' COMMENT '单价 用于小程序排序',
|
||
const STATUS = 'status'; //tinyint(1) DEFAULT '0' COMMENT '0 正常 1删除',
|
||
} |