Добавить колонку отделение. Пока добавлен только МИС #2
This commit is contained in:
16
app/Models/Mis/SttMigrationPatient.php
Normal file
16
app/Models/Mis/SttMigrationPatient.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Mis;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class SttMigrationPatient extends Model
|
||||
{
|
||||
protected $table = 'stt_migrationpatient';
|
||||
protected $primaryKey = 'MigrationPatientID';
|
||||
|
||||
public function stationarBranch()
|
||||
{
|
||||
return $this->hasOne(SttStationarBranch::class, 'StationarBranchID', 'rf_StationarBranchID');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user