24 lines
389 B
PHP
24 lines
389 B
PHP
<?php
|
|||
|
|
|
||
|
|
namespace App\Models;
|
||
|
|
|
||
|
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
|
||
|
|
class Education extends Model
|
||
|
|
{
|
||
|
|
protected $fillable = [
|
||
|
|
'institution',
|
||
|
|
'degree',
|
||
|
|
'field_of_study',
|
||
|
|
'start_date',
|
||
|
|
'end_date',
|
||
|
|
'description',
|
||
|
|
'sort_order',
|
||
|
|
];
|
||
|
|
|
||
|
|
protected $casts = [
|
||
|
|
'start_date' => 'date',
|
||
|
|
'end_date' => 'date',
|
||
|
|
];
|
||
|
|
}
|