diff options
Diffstat (limited to 'app/Models/Currency.php')
-rw-r--r-- | app/Models/Currency.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/Models/Currency.php b/app/Models/Currency.php new file mode 100644 index 0000000..f64bf15 --- /dev/null +++ b/app/Models/Currency.php @@ -0,0 +1,14 @@ +<?php + +namespace App\Models; + +use Illuminate\Database\Eloquent\Model; + +class Currency extends Model +{ + protected $connection = 'sqlite'; + protected $table = 'currency'; + protected $fillable = [ + 'name', 'unit', 'description' +]; +}; |