@@ -1,8 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class EvidenceSubmission extends Model
|
||||
{
|
||||
protected $fillable = ['name','email','park_name','operator','purchase_price','valuation','finance_balance','story','consent_to_contact'];
|
||||
protected $casts = ['consent_to_contact'=>'boolean','purchase_price'=>'decimal:2','valuation'=>'decimal:2','finance_balance'=>'decimal:2'];
|
||||
protected $fillable = ['name', 'email', 'park_name', 'operator', 'purchase_price', 'valuation', 'finance_balance', 'story', 'consent_to_contact'];
|
||||
|
||||
protected $casts = ['consent_to_contact' => 'boolean', 'purchase_price' => 'decimal:2', 'valuation' => 'decimal:2', 'finance_balance' => 'decimal:2'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user