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

View File

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