123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- namespace JinDouYun\Dao\Cashier;
- use JinDouYun\Dao\BaseDao;
- class DCashierConnectLog extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'cashier_connect_log';
- $this->_primary = 'id';
- $this->_fields = [
- "id",
- "staffName",
- "mobile",
- "atWorkTime",
- "offDutyTime",
- "hours",
- "remark",
- "collectionMoney",
- "shopId",
- "collectionData",
- "rechargeData",
- "rechargeMoney",
- "refundData",
- "refundMoney",
- "createTime",
- "updateTime",
- "workStatus",
- "extend",
- "userCenterId",
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|