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

17 行
853 B
PHP
可执行文件

<?php
namespace Common\Model;
//[1.2.41]
class RetailGiftCardPriceModel extends BaseModel
{
protected $tableName = 'gift_card_price';
const ID = 'id'; //int(11) NOT NULL AUTO_INCREMENT,
const MERCHANT_ID = 'merchantid'; //int(11) DEFAULT NULL COMMENT '商家id',
const GIFT_CARD_ID = 'gift_cardid'; //int(11) DEFAULT NULL COMMENT '礼品卡id',
const MONEY = 'money'; //decimal(10,2) DEFAULT NULL COMMENT '面值',
const PRICE = 'price'; //decimal(10,2) DEFAULT NULL COMMENT '售价',
const NUM = 'num'; //int(11) DEFAULT NULL COMMENT '数量',
const LESS_NUM = 'less_num'; //int(11) DEFAULT NULL COMMENT '剩余数量',
const STATUS = 'status'; //varchar(1) DEFAULT '0' COMMENT '1为开启 0 关闭',
const STATE = 'state'; //varchar(1) DEFAULT '1' COMMENT '1 正常 0 删除',
}