File manager - Edit - /var/www/html/spdc/api/app/Models/MemberHealthQuestionnaire.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Concerns\HasUuids; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class MemberHealthQuestionnaire extends Model { use HasFactory; use HasUuids; protected $table = 'member_health_questionnaires'; protected $primaryKey = 'id'; public $incrementing = false; protected $fillable = [ 'shelter_member_family_id', 'blood_type', 'antigen', 'hypertension', 'diabetes', 'another_cronic_disease', 'another_cronic_disease_description', 'regular_use_of_medicine', 'regular_use_of_medicine_description', 'is_medicine_on_shelter', 'health_problems_currently', 'health_problems_currently_description', 'recent_surgery', 'recent_surgery_description', 'pregnant', 'pregnant_description', 'wounded_in_contact_with_water', 'wounded_in_contact_with_water_description', ]; public function shelterMembersFamily() { return $this->belongsTo(ShelterMemberFamily::class, 'shelter_member_family_id'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings