You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
431B

  1. <?php
  2. namespace App\Http\Controllers\Web\Shop;
  3. use App\Http\Controllers\Web\BaseParam;
  4. use App\Models\HtpmsCustomer\Deposit\Deposit;
  5. /**
  6. * @property string shopId
  7. * @property int amount
  8. */
  9. class DepositChargeParam extends BaseParam
  10. {
  11. public function rules(): array
  12. {
  13. return [
  14. Deposit::COL_NAME_SHOP_ID => $this->str(),
  15. Deposit::COL_NAME_DEPOSIT => $this->numeric(),
  16. ];
  17. }
  18. }