<?php

namespace App\Models\System\VersionManagement;

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

/**
 * @property int $id
 * @property string $version
 * @property string $os
 * @property bool $important
 * @property string $notes
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 */
class AppVersion extends Model
{
    use HasFactory;

    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'app_versions';

    /**
     * The attributes that are mass assignable.
     *
     * version -   string
     * os      -   string | in: ios, android
     * important - bool
     * notes - ?string
     *
     * @var array<string>
     */
    protected $fillable = [
        'version',
        'os',
        'important',
        'notes',
    ];
}
