32 lines
665 B
PHP
32 lines
665 B
PHP
<?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',
|
|
];
|
|
|
|
|
|
}
|