Advertisement
asimryu

Student.php

Dec 21st, 2021
867
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.33 KB | None | 0 0
  1. <?php
  2.  
  3. namespace App\Models;
  4.  
  5. use Illuminate\Database\Eloquent\Factories\HasFactory;
  6. use Illuminate\Database\Eloquent\Model;
  7.  
  8. class Student extends Model
  9. {
  10.     use HasFactory;
  11.     protected $table = 'students';
  12.     protected $fillable = [
  13.         'name',
  14.         'course',
  15.         'eamil',
  16.         'phone',
  17.     ];
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement