Initial commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class CustomRequest extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'email',
|
||||
'phone',
|
||||
'description',
|
||||
'file_path',
|
||||
'original_filename',
|
||||
'preferred_material',
|
||||
'preferred_color',
|
||||
'dimensions',
|
||||
'status',
|
||||
'quoted_price',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'quoted_price' => 'float',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user