Files
Global-Jain/app/Models/Jati.php
2025-11-05 10:37:10 +05:30

38 lines
774 B
PHP

<?php
namespace App\Models;
use App\Models\Traits\Jati\Attributes\JatiAttributes;
use App\Models\Traits\Jati\Relationships\JatiRelationships;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Jati extends Model
{
use HasFactory, JatiAttributes, JatiRelationships;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name',
'dharma_id',
'status',
'created_by',
'updated_by',
];
/**
* The attributes that should be cast to native types.
*
* @var array
*/
protected $casts = [
'id' => 'integer',
'dharma_id' => 'integer',
'status' => 'integer',
];
}