DEnterpriseCategory.Class.php 663 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: wxj
  5. * Date: 2019/11/25
  6. * Time: 11:46
  7. */
  8. namespace JinDouYun\Dao\Enterprise;
  9. use JinDouYun\Dao\BaseDao;
  10. class DEnterpriseCategory extends BaseDao
  11. {
  12. public function __construct($serviceDB = 'default')
  13. {
  14. $this->_table = 'enterprise_category';
  15. $this->_primary = 'id';
  16. $this->_fields = [
  17. 'id',//int(11) NOT NULL AUTO_INCREMENT,
  18. 'name',//varchar(255) DEFAULT NULL COMMENT '名称',
  19. 'deleteStatus',//int(1) DEFAULT '5' COMMENT '删除(5删除 4正常)',
  20. ];
  21. $this->_readonly = ['id'];
  22. parent::__construct($serviceDB);
  23. }
  24. }