<?php

namespace App\Models;

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

class Community extends Model
{
    use SoftDeletes;
    protected $dates = ['deleted_at'];
    protected $table = 'community';
    protected $primaryKey = 'community_id';
    protected $fillable = [
        'courses_id',
        'courses_name',
        'best_selling',
        'banner_name',
        'community_slug',
        'community_description',
        'banner_image',
        'current_year',
        'current_month',
        'current_dates',
        'active_status',
    ];
    protected $hidden = [
        'created_at',
        'updated_at',
        'deleted_at'
    ];
}
