Работа над журналом для ст. мед сестер

This commit is contained in:
brusnitsyn
2026-05-04 17:11:16 +09:00
parent f107ebd167
commit 7a58812072
61 changed files with 3532 additions and 1163 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ReportNurse extends Model
{
protected $fillable = [
'date_report',
'sent_at',
'period_type',
'period_start',
'period_end',
'status_id'
];
public function patients()
{
return $this->hasMany(ReportNursePatient::class, 'report_nurse_id');
}
public function status()
{
return $this->belongsTo(ReportStatus::class);
}
}