This commit is contained in:
2026-08-15 13:29:00 -07:00
parent 649feeba63
commit 793dc85e44
70 changed files with 12639 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class Comment
*
* @property int $id
* @property int $user_id
* @property string $comment
* @property int $status
* @property Carbon $created_at
*
* @property User $user
*
* @package App\Models
*/
class Comment extends Model
{
protected $table = 'comments';
public $timestamps = false;
protected $casts = [
'user_id' => 'int',
'status' => 'int'
];
protected $fillable = [
'user_id',
'comment',
'status'
];
public function user()
{
return $this->belongsTo(User::class);
}
}