belongsTo(PdfCategories::class, 'category_id'); } /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'file_path', 'is_published', ]; }