%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home2/rezakur1/dashboard.rezakurnia.com/dashboard-rezakurnia/app/Models/
Upload File :
Create Path :
Current File : /home2/rezakur1/dashboard.rezakurnia.com/dashboard-rezakurnia/app/Models/ArticleCategories.php

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ArticleCategories extends Model
{
    protected $table = 'article_categories';
    protected $primaryKey = 'article_category_id';

    protected $fillable = [
        'name',
        'slug',
        'description',
        'meta_title',
        'meta_description',
        'view_count',
        'total_articles',
    ];

    protected $casts = [
        'view_count' => 'integer',
        'total_articles' => 'integer',
    ];

    /*

    |--------------------------------------------------------------------------

    | RELATIONSHIP

    |--------------------------------------------------------------------------

    */

    // public function articles()

    // {

    //     return $this->hasMany(Article::class, 'article_category_id');
    // }
}

Zerion Mini Shell 1.0