<?php

namespace App\Models\Stats\Dimensions;

use App\Models\Stats\BaseStatModel;

class DimDate extends BaseStatModel
{
    protected $table = 'dim_date';

    protected $primaryKey = 'date_key';

    public $incrementing = false;

    public $timestamps = false;

    protected $keyType = 'string';

    protected $casts = [
        'date_key' => 'date',
        'is_weekend' => 'boolean',
        'is_holiday' => 'boolean',
    ];
}
