Files
Global-Jain/app/Models/PostHidden.php
2025-11-05 10:37:10 +05:30

34 lines
605 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class PostHidden extends Model
{
use HasFactory;
protected $table = 'post_hidden';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'post_id',
'user_id'
];
/**
* The attributes that should be cast to native types.
*
* @var array
*/
protected $casts = [
'id' => 'integer',
'post_id' => 'integer',
'user_id' => 'integer',
];
}