1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- /**
- * Created by PhpStorm.
- * User: phperstar
- * Date: 2020/2/11
- * Time: 15:49
- */
- namespace JinDouYun\Dao\Manage;
- use JinDouYun\Dao\BaseDao;
- class DArticle extends BaseDao
- {
- public function __construct($serviceDB = 'manage')
- {
- $this->_table = 'article';
- $this->_primary = 'id';
- $this->_fields = [
- "id", //int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
- 'title',
- 'content',
- 'image',
- 'description',
- 'categoryId',
- 'deleteStatus',
- 'createTime',
- 'updateTime'
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- ];
- $this->_update_autofill = [
- ];
- parent::__construct($serviceDB);
- }
- }
|