1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- /**
- * Created by PhpStorm.
- * User: XiaoMing
- * Date: 2019/10/31
- * Time: 15:49
- */
- namespace JinDouYun\Dao\Manage;
- use JinDouYun\Dao\BaseDao;
- class DCategory extends BaseDao
- {
- public function __construct($serviceDB = 'manage')
- {
- $this->_table = 'category';
- $this->_primary = 'id';
- $this->_fields = [
- "id", //int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
- 'categoryName',
- 'sort',
- 'enableStatus',
- 'description',
- 'type'
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- ];
- $this->_update_autofill = [
- ];
- parent::__construct($serviceDB);
- }
- }
|