UnknownSec Bypass
403
:
/
mnt
/
lmsestudio-instance-vol002
/
lms_64113a7a192d
/
app
/
Models
/
Courses
/
Resources
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
UtfComment.php
<?php namespace EstudioLMS\Models\Courses\Resources; use Carbon\Carbon; use EstudioLMS\Models\Auth\User; use Illuminate\Database\Eloquent\Model; /** * */ class UtfComment extends Model { protected $fillable = [ 'utf_lesson_id', 'utf_comment_id', 'user_id', 'comments' ]; protected $appends = [ 'human_date' ]; /** * @return \Illuminate\Database\Eloquent\Relations\HasOne */ public function user() { return $this->hasOne(User::class, 'id', 'user_id')->withTrashed(); } /** * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function replicas() { return $this->hasMany(UtfComment::class, 'utf_comment_id', 'id')->latest('updated_at'); } /** * @return null|string */ public function getHumanDateAttribute() { Carbon::setLocale('pt'); return Carbon::createFromFormat('Y-m-d H:i:s', $this->attributes['updated_at'])->diffForHumans(); } }
Copyright © 2026 - UnknownSec