13 lines
421 B
PHP
13 lines
421 B
PHP
<?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'];
|
|
}
|