<?php

namespace App\Models;

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

class CertificateMaster extends Model
{
    use SoftDeletes;

    protected $table = 'certificate_master';
    protected $primaryKey = 'CM_Id';

    protected $fillable = [
        'Certificate_Type',
        'Validity'
    ];

    protected $casts = [
        'Validity' => 'date:Y-m-d'
    ];
}
