25 lines
524 B
PHP
25 lines
524 B
PHP
<?php
|
|
|
|
namespace Modules\Asset\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Modules\Asset\Database\factories\AssetCategoryFactory;
|
|
|
|
class AssetCategory extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'tbl_asset_categories';
|
|
protected $primaryKey = 'asset_category_id';
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected $fillable = [
|
|
'name',
|
|
'status',
|
|
'description',
|
|
'remarks'
|
|
];
|
|
}
|