New-OMIS/Modules/Admin/app/Models/Company.php

29 lines
586 B
PHP
Raw Normal View History

<?php
namespace Modules\Admin\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Modules\Admin\Database\factories\CompanyFactory;
class Company extends Model
{
use HasFactory;
protected $table = 'tbl_companies';
protected $primaryKey = 'company_id';
/**
* The attributes that are mass assignable.
*/
protected $fillable = [
'title',
'alias',
'company_type_id',
'status',
'description',
'remarks',
'createdBy',
'updatedBy',
];
}