<?php

namespace App\Models\User;

use Illuminate\Database\Eloquent\Model;

class HomePageText extends Model
{
    public $table = 'user_home_page_texts';

    protected $fillable = [
        'language_id',
        'user_id',
        'about_image',
        'about_keyword',
        'about_title',
        'about_subtitle',
        'about_content',
        'about_video_image',
        'about_video_url',
        'about_button_text',
        'about_button_url',
        'about_snd_button_text',
        'about_snd_button_url',
        'technical_image',
        'technical_keyword',
        'technical_title',   
        'technical_content',
        'service_keyword',
        'skills_title',
        'skills_subtitle',
        'skills_content',
        'service_title',
        'service_subtitle',
        'experience_keyword',
        'experience_title',
        'achievement_image',
        'achievement_keyword',
        'achievement_title',
        'portfolio_keyword',
        'portfolio_title',
        'portfolio_subtitle',
        'view_all_portfolio_text',
        'testimonial_keyword',
        'testimonial_title',
        'testimonial_subtitle',
        'testimonial_image',
        'team_section_title',
        'team_section_subtitle',
        'blog_keyword',
        'blog_title',
        'blog_subtitle',
        'view_all_blog_text',
        'contact_title',
        'contact_title',
        'contact_subtitle',
        'contact_button_text',
        'video_section_image',
        'video_section_title',
        'video_section_subtitle',
        'video_section_text',
        'video_section_button_text',
        'video_section_button_url',
        'video_section_url',
        'why_choose_us_section_image',
        'why_choose_us_section_title',
        'why_choose_us_section_subtitle',
        'why_choose_us_section_text',
        'why_choose_us_section_button_text',
        'why_choose_us_section_button_url',
        'why_choose_us_section_video_image',
        'why_choose_us_section_video_url',
        'work_process_section_title',
        'work_process_section_subtitle',
        'work_process_section_text',
        'work_process_section_img',
        'work_process_section_video_img',
        'work_process_section_video_url',
        'quote_section_title',
        'quote_section_subtitle',
        'counter_section_image',
        'work_process_btn_txt',
        'work_process_btn_url',
        'contact_section_title',
        'contact_section_subtitle',
        'feature_item_title',
        'new_item_title',
        'newsletter_title',
        'newsletter_subtitle',
        'bestseller_item_title',
        'special_item_title',
        'flashsale_item_title',
        'featured_course_section_title',
        'newsletter_image',
        'newsletter_snd_image',
        'featured_section_subtitle',
        'featured_section_title',
        'category_section_title',
        'category_section_subtitle',
        'causes_section_title',
        'causes_section_subtitle',
        'job_education_title',
        'job_education_subtitle',
        'donor_title',
        'featured_category_item_section_title',
        'flash_sale_title',
        'latest_item_section_title',
        'on_sale_section_title',
        'on_sale_section_image',
        'on_sale_section_subtitle',
        'on_sale_section_section_button_name',
        'on_sale_section_section_button_link',
        'faq_section_title',
        'faq_section_subtitle',
        'contact_section_image',
        'contact_section_title',
        'contact_section_subtitle',
        'rooms_section_title',
        'rooms_section_subtitle',
        'rooms_section_content',
    ];
    public function language()
    {
        return $this->belongsTo('App\Models\User\Language', 'language_id');
    }
}
