|
- <?php
-
- namespace App\Http\Controllers\Web\Shop;
-
- use App\Http\Controllers\Web\BaseParam;
- use App\Models\HtpmsCustomer\Deposit\Deposit;
-
- /**
- * @property string shopId
- * @property int amount
- */
- class DepositChargeParam extends BaseParam
- {
- public function rules(): array
- {
- return [
- Deposit::COL_NAME_SHOP_ID => $this->str(),
- Deposit::COL_NAME_DEPOSIT => $this->numeric(),
- ];
- }
- }
|