added company company type into admin module
This commit is contained in:
29
Modules/Admin/app/Models/Transfer.php
Normal file
29
Modules/Admin/app/Models/Transfer.php
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Admin\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Modules\Admin\Database\factories\TransferFactory;
|
||||
|
||||
class Transfer extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'tbl_transfers';
|
||||
protected $primaryKey = 'transfer_id';
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected $fillable = [
|
||||
'employee_id',
|
||||
'old_department_id',
|
||||
'new_department_id',
|
||||
'status',
|
||||
'transfer_date',
|
||||
'description',
|
||||
'remarks',
|
||||
'createdBy',
|
||||
'updatedBy',
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user