admin module added
This commit is contained in:
31
Modules/Admin/app/Models/PromotionDemotion.php
Normal file
31
Modules/Admin/app/Models/PromotionDemotion.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Admin\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Modules\Admin\Database\factories\PromotionDemotionFactory;
|
||||
|
||||
class PromotionDemotion extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = "tbl_promotion_demotions";
|
||||
protected $primaryKey = "promotion_demotion_id";
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected $fillable = [
|
||||
'employee_id',
|
||||
'title',
|
||||
'employee_id',
|
||||
'old_designation_id',
|
||||
'new_designation_id',
|
||||
'type',
|
||||
'status',
|
||||
'description',
|
||||
'remarks',
|
||||
];
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user