migrate to gtea from bistbucket
This commit is contained in:
31
public/restaurant/Modules/HRM/app/Models/Candidate.php
Normal file
31
public/restaurant/Modules/HRM/app/Models/Candidate.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\HRM\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
|
||||
class Candidate extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'restaurant_id',
|
||||
'recruitment_id',
|
||||
'first_name',
|
||||
'last_name',
|
||||
'email',
|
||||
'phone',
|
||||
'resume',
|
||||
'cover_letter',
|
||||
'status',
|
||||
'notes',
|
||||
];
|
||||
|
||||
public const TABLE_NAME = 'candidates';
|
||||
|
||||
protected $table = self::TABLE_NAME;
|
||||
|
||||
public function interviews(): HasMany
|
||||
{
|
||||
return $this->hasMany(Interview::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user