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