mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-08-01 08:16:55 -04:00
26 lines
493 B
PHP
26 lines
493 B
PHP
<?php
|
|
|
|
namespace Modules\JobPortal\Entities;
|
|
|
|
use Modules\JobPortal\Entities\BaseModel;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
class CandidateCvs extends BaseModel
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'jp_candidate_cvs';
|
|
|
|
protected $fillable = [
|
|
'file_id',
|
|
'origin_id',
|
|
'is_default',
|
|
'create_user',
|
|
'update_user'
|
|
];
|
|
|
|
public function media(){
|
|
return $this->hasOne(MediaFile::class, 'id', 'file_id');
|
|
}
|
|
}
|