mirror of
https://github.com/robonen/metr.git
synced 2026-03-20 02:44:42 +00:00
User authentication
This commit is contained in:
22
backend/app/Models/Feedback.php
Normal file
22
backend/app/Models/Feedback.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Feedback extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array<int, string>
|
||||
*/
|
||||
protected $fillable = [
|
||||
'user_id',
|
||||
'comment',
|
||||
'rating',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user