123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php
- namespace JinDouYun\Dao\Customer;
- use JinDouYun\Dao\BaseDao;
- class DCustomer extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'customer';
- $this->_primary = 'id';
- $this->_fields = [
- "id",
- "userCenterId",
- "enterpriseId",
- "shopId",
- "departmentId",
- "integral",
- "integralTotal",
- "status",
- "auditFailReason",
- "name",
- "code",
- "condition",
- "avatar",
- "type",
- "reservoirId",
- "provinceCode",
- "cityCode",
- "districtCode",
- "address",
- "managerMobile",
- "salesManId",
- "salesManCode",
- "salesManName",
- "birthday",
- "enableStatus",
- "deleteStatus",
- "isCommission",
- "commissionPath",
- "createTime",
- "updateTime",
- "extend",
- "taglib",
- "remark",
- "longitude",
- "latitude",
- "openId",
- "unionId",
- "byteOpenId",
- "money",
- "totalPayMoney",
- "payPassword",
- "recommenderType",
- "recommenderId",
- 'is_shareholder',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|