Add Login & Register
This commit is contained in:
@@ -11,5 +11,14 @@ class Organization extends Model
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'type',
|
||||
'status',
|
||||
'description',
|
||||
'part_of',
|
||||
];
|
||||
|
||||
public function parent()
|
||||
{
|
||||
return $this->belongsTo(Organization::class, 'part_of', 'id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user