reupload
This commit is contained in:
44
app/Models/System/VersionManagement/AppVersion.php
Normal file
44
app/Models/System/VersionManagement/AppVersion.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<?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',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user