1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace JinDouYun\Dao\Customer;
- use JinDouYun\Dao\BaseDao;
- class DCustomerContact extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'customer_contact';
- $this->_primary = 'id';
- $this->_fields = [
- 'id',
- 'customerId',
- 'name',
- 'mobile',
- 'provinceCode',
- 'cityCode',
- 'districtCode',
- 'address',
- 'deleteStatus',
- 'createTime',
- 'updateTime',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|