Работа над журналом для ст. мед сестер
This commit is contained in:
19
app/Models/UnifiedMedicalHistory.php
Normal file
19
app/Models/UnifiedMedicalHistory.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class UnifiedMedicalHistory extends MaterializedViewModel
|
||||
{
|
||||
protected $table = 'v_unified_medical_history';
|
||||
protected $primaryKey = 'id';
|
||||
|
||||
protected $casts = [
|
||||
'birth_date' => 'date',
|
||||
'recipient_date' => 'datetime',
|
||||
'extract_date' => 'datetime',
|
||||
'death_date' => 'datetime',
|
||||
'male' => 'boolean',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user