12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- namespace JinDouYun\Dao\Cashier;
- use JinDouYun\Dao\BaseDao;
- class DCashierCustomerPrice extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'cashier_customer_price';
- $this->_primary = 'id';
- $this->_fields = [
- "id",
- "skuId",
- "cashierUid",
- "customerUid",
- "price",
- "extends",
- "createTime",
- "updateTime",
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|