123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- namespace JinDouYun\Dao\Cashier;
- use JinDouYun\Dao\BaseDao;
- /**
- * Description:
- * Class DCashierEntryData
- * @package JinDouYun\Dao\Cashier
- */
- class DCashierEntryData extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'cashier_entry_data_1';
- $this->_primary = 'id';
- $this->_fields = [
- "id",//int(10) NOT NULL AUTO_INCREMENT COMMENT '自增id',
- "shopId",//int(10) DEFAULT '0' COMMENT 'shopId',
- "userCenterId",//int(10) DEFAULT '0' COMMENT 'userCenterId',
- "entryData",//json DEFAULT NULL COMMENT '数据',
- "createTime",//int(10) DEFAULT '0' COMMENT '创建时间',
- "updateTime",//int(10) DEFAULT '0' COMMENT '修改时间',
- "extend",//json DEFAULT NULL COMMENT '扩展字段',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|