api code global jain
This commit is contained in:
36
app/Models/SanghMember.php
Normal file
36
app/Models/SanghMember.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use App\Models\Traits\SanghMember\Scopes\SanghMemberScope;
|
||||
use App\Models\Traits\SanghMember\Methods\SanghMemberMethods;
|
||||
use App\Models\Traits\SanghMember\Attributes\SanghMemberAttributes;
|
||||
use App\Models\Traits\SanghMember\Relationships\SanghMemberRelationships;
|
||||
|
||||
class SanghMember extends Model
|
||||
{
|
||||
use HasFactory, SanghMemberAttributes, SanghMemberRelationships, SanghMemberScope, SanghMemberMethods;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'sangh_id',
|
||||
'member_id',
|
||||
'user_id',
|
||||
'core_committee',
|
||||
'role',
|
||||
'status',
|
||||
'profile_image',
|
||||
'is_owner',
|
||||
'added_by'
|
||||
];
|
||||
|
||||
protected $guarded = [
|
||||
'id',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user