<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class Badge extends Model
{
    use HasFactory;

    protected $table = 'tbl_badge';
    protected $guarded = array();

    protected $casts = [
        'id' => 'integer',
        'name' => 'string',
        'label' => 'string',
        'description' => 'string',
        'image' => 'string',
        'earning_coin' => 'integer',
        'min_pass_quiz' => 'integer',
        'min_win_contest' => 'integer',
        'min_day_play' => 'integer',
        'min_coin_sharing' => 'integer',
        'min_referrals' => 'integer',
        'status' => 'integer',
    ];
}
