<?php

namespace Hubleto\App\Community\Cloud\Models\RecordManagers;

class Payment extends \Hubleto\Erp\RecordManager
{
  public $table = 'cloud_payments';

  // public function recordCreate(array $record, $useProvidedRecordId = false): array
  // {
  //   $cloudApp = $this->model->appManager()->getApp(\Hubleto\App\Community\Cloud\Loader::class);
  //   $isTrialPeriod = $cloudApp->saveConfig('isTrialPeriod', '0');
  //   return parent::recordCreate($record);
  // }

  public function recordDelete(int|string $id): int
  {
    return 0;
  }
}
