<?php

namespace App\Models;

use App\Libs\Database\Eloquent\TranslationModel;

class BlockLanguage extends TranslationModel
{
    protected $fillable = ['wysiwyg', 'wysiwyg_2'];
    protected $casts = ['cta' => 'json', 'cta_2' => 'json'];

    public function block()
    {
        return $this->belongsTo(Block::class);
    }
}
