36 lines
661 B
PHP
36 lines
661 B
PHP
<?php
|
|
|
|
namespace App\Models\System\VersionManagement;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
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',
|
|
];
|
|
}
|