migrate to gtea from bistbucket
This commit is contained in:
22
app/Models/Testimonial.php
Normal file
22
app/Models/Testimonial.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Testimonial extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $fillable = [
|
||||
'text',
|
||||
'star',
|
||||
'client_name',
|
||||
'client_image',
|
||||
'work_at'
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'star' => 'integer',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user