<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class CaseHome extends Model
{
    use SoftDeletes;

    protected $dates = ['deleted_at'];

    protected $primaryKey = 'id';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'blog_post_id', 'image', 'language_id',
        'titulo', 'description', 'btncta', 'btnlinkcta', 'bt_color'
        
    ];

    public function blogPost()
    {
      return $this->belongsTo('App\BlogPost');
    }
}
