Skip to content

Commit

Permalink
Add fillable properties and casts
Browse files Browse the repository at this point in the history
  • Loading branch information
joshembling committed Dec 3, 2023
1 parent f836df4 commit 12d1a02
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Laragenie.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,11 @@

class Laragenie
{
protected $fillable = [
'question', 'answer', 'cost', 'question_embedding',
];

protected $casts = [
'cost' => 'double',
];
}

0 comments on commit 12d1a02

Please sign in to comment.