File manager - Edit - /var/www/html/pcadigital/api/app/Models/Historic.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Historic extends Model { use HasFactory; protected $table = 'historics'; protected $fillable = [ 'status', 'organ_name', 'others', 'created_by', 'observation', 'final_comment', 'images_url', 'organ_id','is_send_to_citizen' ]; public function occurrence() { return $this->belongsTo(Occurrence::class); } public function category() { return $this->belongsTo(Category::class); } public function subCategory() { return $this->belongsTo(SubCategory::class); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings