You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
489 B
PHP
21 lines
489 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
final class CloudTemplate extends Model
|
|
{
|
|
protected $connection = 'default';
|
|
protected $table = 'cloud_templates';
|
|
protected $primaryKey = 'id';
|
|
public $incrementing = false;
|
|
protected $keyType = 'string';
|
|
protected $hidden = ['startup_script'];
|
|
protected $casts = [
|
|
'is_default' => 'bool',
|
|
'image_bytes' => 'int',
|
|
'revision' => 'int',
|
|
'created_at' => 'int',
|
|
'updated_at' => 'int',
|
|
];
|
|
}
|