You've already forked isop-mirror
refactor: create models, factories, and seeders for Company, Internship, InternshipStatus, and StudentData
This commit is contained in:
24
backend/app/Models/StudentData.php
Normal file
24
backend/app/Models/StudentData.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class StudentData extends Model
|
||||
{
|
||||
/** @use HasFactory<\Database\Factories\StudentDataFactory> */
|
||||
use HasFactory;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var list<string>
|
||||
*/
|
||||
protected $fillable = [
|
||||
'user_id',
|
||||
'address',
|
||||
'personal_email',
|
||||
'study_field',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user