<?php

namespace App\Models;

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

class EmpCatMaster extends Model
{
    use HasFactory, SoftDeletes;

    protected $table = 'emp_cat_master';
    protected $primaryKey = 'ECt_Id';

    protected $fillable = [
        'ECt_Code',
        'ECt_Name',
        'Is_Active'
    ];

    protected $casts = [
        'Is_Active' => 'boolean',
    ];
}
