refactor: create models, factories, and seeders for Company, Internship, InternshipStatus, and StudentData

This commit is contained in:
2025-10-21 12:25:54 +02:00
parent b4f98718e6
commit e3c7bd3a5a
18 changed files with 579 additions and 3 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Internship extends Model
{
/** @use HasFactory<\Database\Factories\InternshipFactory> */
use HasFactory;
/**
* The attributes that are mass assignable.
*
* @var list<string>
*/
protected $fillable = [
'user_id',
'company_id',
'start',
'end',
'year_of_study',
'semester',
'position_description',
'agreement',
];
}