You've already forked Atomcms-edit
Initial commit
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Models\Help;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class WebsiteHelpCenterQuestion extends Model
|
||||
{
|
||||
#[\Override]
|
||||
protected $table = 'help_questions';
|
||||
|
||||
#[\Override]
|
||||
protected $guarded = ['id', 'category_id', 'created_at', 'updated_at'];
|
||||
|
||||
public function category()
|
||||
{
|
||||
return $this->belongsTo(WebsiteHelpCenterCategory::class, 'category_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user