File manager - Edit - /var/www/html/pcadigital/api/app/Models/Comment.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Comment extends Model { use HasFactory; protected $table = 'comments'; protected $fillable = ['description', 'created_by']; public function images() { return $this->hasMany(CommentImage::class); } public function occurrence() { return $this->belongsTo(Occurrence::class); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings