mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-12 05:51:08 +03:30
Come BackEnd
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MedicalCenter extends Model
|
||||
{
|
||||
public $fillable = ['name'];
|
||||
public function users()
|
||||
{
|
||||
return $this->hasMany('App\User');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user