123456789101112131415161718192021222324252627 |
- <?php
- /**
- * Created by PhpStorm.
- * User: wxj
- * Date: 2019/11/25
- * Time: 11:46
- */
- namespace JinDouYun\Dao\Enterprise;
- use JinDouYun\Dao\BaseDao;
- class DEnterpriseCategory extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'enterprise_category';
- $this->_primary = 'id';
- $this->_fields = [
- 'id',//int(11) NOT NULL AUTO_INCREMENT,
- 'name',//varchar(255) DEFAULT NULL COMMENT '名称',
- 'deleteStatus',//int(1) DEFAULT '5' COMMENT '删除(5删除 4正常)',
- ];
- $this->_readonly = ['id'];
- parent::__construct($serviceDB);
- }
- }
|