StocksNew/Modules/Recruit/app/Models/OfferLetter.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

40 lines
836 B
PHP

<?php
namespace Modules\Recruit\Models;
use App\Traits\StatusTrait;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Modules\Recruit\Database\factories\OfferLetterFactory;
class OfferLetter extends Model
{
use HasFactory, StatusTrait;
protected $table = 'tbl_offer_letters';
protected $primaryKey = "offer_letter_id";
/**
* The attributes that are mass assignable.
*/
protected $fillable = [
'applicant_name',
'department_id',
'designation_id',
'working_shift_id',
'salary',
'contract_time_period',
'joining_date',
'issued_date',
'issued_by',
'createdBy',
'updatedBy',
'description',
'remarks',
];
public $appends = ['status_name;'];
}