<?php

namespace App;

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

class Subject extends Model
{
    use SoftDeletes;

    public $table = 'subjects';

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

    protected $fillable = [
        'subject_name',
        'level',
        'created_at',
        'updated_at',
        'deleted_at',
    ];

    const LEVEL_SELECT = [
        'CAP I'      => 'CAP I',
        'CAP II'     => 'CAP II',
        'CAP III'    => 'CAP III',
        'Membership' => 'Membership',
    ];
}