<?php

namespace App\Models\DuckSoup;

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

class CharChest extends Model
{
    use HasFactory;

    protected $connection = 'sqlsrv_proxy';
    protected $table = 'CharChest';
    protected $primaryKey = 'ID';
    public $timestamps = false;

    protected $fillable = [
        'CharID',
        'RefItemID',
        'Count',
        'OptLevel',
        'RandomizedStats',
        'RewardFrom',
        'RegisterTime',
    ];

    protected $casts = [
        'RegisterTime' => 'datetime',
    ];
}
