feat: Lernapp mit Mathe/Deutsch/Englisch, Münzsystem und Belohnungen
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
class Reward extends Model {
|
||||
protected $fillable = ['name','description','icon','points_cost','minutes','active'];
|
||||
protected $casts = ['active' => 'boolean'];
|
||||
public function redemptions() { return $this->hasMany(RewardRedemption::class); }
|
||||
}
|
||||
Reference in New Issue
Block a user