move into sonardesk

This commit is contained in:
Mark Gregory
2026-10-12 14:50:13 +01:00
parent 5f0d2ceb72
commit 38b4a7406f
879 changed files with 24021 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
namespace Modules\Marketplace\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
final class Publisher extends Model
{
protected $table = 'marketplace_publishers';
protected $fillable = ['name', 'slug', 'email', 'website', 'public_key', 'is_verified', 'metadata'];
protected $casts = ['is_verified' => 'boolean', 'metadata' => 'array'];
public function packages(): HasMany
{
return $this->hasMany(MarketplacePackage::class, 'publisher_id');
}
}