File manager - Edit - /home/linknsbh/linkat.online/app/Models/User/BlogView.php
Back
<?php namespace App\Models\User; use App\Models\Blog; use App\Models\User; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class BlogView extends Model { use HasFactory; protected $fillable = ['post_id', 'user_id', 'ip', 'author_id']; protected $table = 'user_blog_views'; public function post() { return $this->belongsTo(Blog::class); } public function viewByUser() { return $this->belongsTo(User::class); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.56 |
proxy
|
phpinfo
|
Settings