校园论坛

This commit is contained in:
liu
2026-05-31 03:47:57 +08:00
parent a1c6ecf2b9
commit 86be1c230e
47 changed files with 1892 additions and 0 deletions
@@ -0,0 +1,29 @@
<?php
namespace Modules\Forum\Models;
use Illuminate\Database\Eloquent\Model;
class ForumCommentModel extends Model
{
protected $table = 'forum_comments';
protected $fillable = [
'post_id',
'user_id',
'parent_id',
'reply_to',
'content',
'like_count',
'status',
];
protected $casts = [
'post_id' => 'integer',
'user_id' => 'integer',
'parent_id' => 'integer',
'reply_to' => 'integer',
'like_count' => 'integer',
'status' => 'integer',
];
}