<?php
namespace App\Repositories;
use App\Models\Member;
use App\Repositories\BaseRepository;
class MemberRepository extends BaseRepository
{
protected $fieldSearchable = [
'full_name',
'title',
'biodata',
'birth_date',
'birth_place',
'gender',
'address',
'phone_number',
'facebook',
'twitter',
'whatsapp',
'telegram',
'web',
'users_id'
];
public function getFieldsSearchable(): array
{
return $this->fieldSearchable;
}
public function model(): string
{
return Member::class;
}
}
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]