added company company type into admin module

This commit is contained in:
2024-04-15 13:47:40 +05:45
parent 158765a250
commit e9c62209d4
61 changed files with 2177 additions and 57 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace Modules\Admin\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Modules\Admin\Database\factories\WarningFactory;
class Warning extends Model
{
use HasFactory;
protected $table = 'tbl_warnings';
protected $primaryKey = 'warning_id';
/**
* The attributes that are mass assignable.
*/
protected $fillable = [
'employee_id',
'subject',
'warning_date',
'description',
'remarks',
'status',
'createdBy',
'updatedBy',
];
}