12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?php
- namespace JinDouYun\Dao\Enterprise;
- use JinDouYun\Dao\BaseDao;
- class DEnterprise extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'enterprise';
- $this->_primary = 'id';
- $this->_fields = [
- "id",
- "userCenterId",
- "brandName",
- "enterpriseName",
- "contact",
- "mobile",
- "provinceCode",
- "cityCode",
- "districtCode",
- "address",
- "categoryId",
- "startTime",
- "endTime",
- "logo",
- "appid",
- "appSecret",
- "token",
- "deleteStatus",
- "createTime",
- "updateTime",
- "extend",
- "scope",
- "iosAuditStatus",
- "balance",
- "isoem",
- "oemId",
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|