feat(LRL App): init V0

This commit is contained in:
2025-10-22 17:09:48 +02:00
parent d3303fee95
commit 0924da3cda
475 changed files with 44862 additions and 7 deletions

26
app/Models/Package.php Normal file
View File

@@ -0,0 +1,26 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
class Package extends Model
{
protected $fillable = [
'identifier',
'name',
'description',
'is_active',
];
public static function getAttributeLabel(string $attribute): string
{
return __('packages.fields.' . $attribute);
}
public function memberships(): HasMany
{
return $this->hasMany(Membership::class);
}
}