<?php

namespace App\Models;
use Illuminate\Database\Eloquent\SoftDeletes;

use Illuminate\Database\Eloquent\Model;

class curriculamDetail extends Model
{   use SoftDeletes;
    protected $dates = ['deleted_at'];
    protected $table = 'curriculam_detail';
    protected $primaryKey = 'curriculam_detail_id';
    protected $fillable = [
        'courses_id',
        'courses_name',
        'courses_slug',
        'curriculam_title',
        'curriculam_description',
        'play_sub_title',
        'play_sub_description',
        'play_bullet_one',
        'play_bullet_two',
        'play_bullet_three',
        'play_bullet_four',
        'play_para',
        'active_status',



    ];
    protected $hidden = [
        'created_at',
        'updated_at',
        'deleted_at'
    ];

    public function courseslist() {
        return $this->hasMany('App\Models\Courses', 'courses_id', 'courses_id');
    }
}
