Skip to content

Commit

Permalink
Update model for lead #5
Browse files Browse the repository at this point in the history
  • Loading branch information
drewroberts authored Mar 19, 2021
1 parent 16efe1c commit 2d1c65b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Models/Lead.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,24 @@
use Carbon\Carbon;
use Illuminate\Support\Str;
use Tipoff\Support\Models\BaseModel;
use Tipoff\Support\Traits\HasCreator;
use Tipoff\Support\Traits\HasPackageFactory;
use Tipoff\Support\Traits\HasUpdater;

class Lead extends BaseModel
{
use HasCreator;
use HasPackageFactory;
use HasUpdater;

protected $guarded = [
'id',
'lead_number',
];

protected $casts = [
'form_completed_at' => 'datetime',
'verified_at' => 'datetime',
'current_plan_expires_at' => 'date',
'current_plan_under_cancellation' => 'boolean',
];
Expand Down

0 comments on commit 2d1c65b

Please sign in to comment.