<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Foundation\Auth\User as Authenticatable;

class RoulletResultCondition extends Model
{
    use Notifiable, SoftDeletes;

    # define table
    protected $table = 'roullet_result_conditions';

    # define fillable fields
    protected $fillable = [
        'number',
        'color',
        'even_odd',
        'small_big',
        'row',
        'combination',
    ];

    /**
     * The attributes that should be cast.
     *
     * @var array
     */
    protected $casts = [
        'status'  => 'boolean',
    ];
}
