Files
kulakpos_web/app/Models/ExpenseCategory.php

34 lines
607 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class ExpenseCategory extends Model
{
use HasFactory;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'categoryName',
'business_id',
'categoryDescription',
'status',
];
/**
* The attributes that should be cast to native types.
*
* @var array
*/
protected $casts = [
'business_id' => 'integer',
'status' => 'boolean',
];
}