Download app/Models/GatewayProducts.php from pnacorp/magicai: direct link, hf CLI and curl.
- Browser
- Download file 447 Bytes
-
https://huggingface.co/pnacorp/magicai/resolve/main/app/Models/GatewayProducts.php
- Command line
-
hf download hf://pnacorp/magicai/app/Models/GatewayProducts.php
-
curl -L -o GatewayProducts.php https://huggingface.co/pnacorp/magicai/resolve/main/app/Models/GatewayProducts.php
447 Bytes
| namespace App\Models; | |
| use Illuminate\Database\Eloquent\Model; | |
| use Illuminate\Database\Eloquent\Relations\HasMany; | |
| class GatewayProducts extends Model | |
| { | |
| protected $table = 'gatewayproducts'; | |
| protected $guarded = []; | |
| protected $casts = [ | |
| 'payload' => 'array', | |
| ]; | |
| public function revenuecat_products(): HasMany | |
| { | |
| return $this->hasMany(RevenueCatProducts::class, 'gatewayproduct_id', 'id'); | |
| } | |
| } | |