feat(LRL App): init V0
This commit is contained in:
21
app/Models/Service.php
Normal file
21
app/Models/Service.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Service extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'identifier',
|
||||
'name',
|
||||
'description',
|
||||
'url',
|
||||
'icon',
|
||||
];
|
||||
|
||||
public static function getAttributeLabel(string $attribute): string
|
||||
{
|
||||
return __('services.fields.' . $attribute);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user