41 lines
737 B
PHP
41 lines
737 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class CareerApplication extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $fillable = [
|
|
'name',
|
|
'email',
|
|
'phone',
|
|
'type',
|
|
'cv_path',
|
|
'nda_path',
|
|
'contract_path',
|
|
'git_knowledge',
|
|
'ai_usage',
|
|
'message',
|
|
'status',
|
|
'username',
|
|
'password',
|
|
'signed_internship_form_path',
|
|
];
|
|
|
|
/**
|
|
* Get the attributes that should be cast.
|
|
*
|
|
* @return array<string, string>
|
|
*/
|
|
protected function casts(): array
|
|
{
|
|
return [
|
|
'password' => 'hashed',
|
|
];
|
|
}
|
|
}
|