This commit is contained in:
Saeed Vaziry
2023-07-02 12:47:50 +02:00
commit 5c72f12490
825 changed files with 41659 additions and 0 deletions

View File

@ -0,0 +1,32 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
/**
* @property int $site_id
* @property string $name
* @property string $content
* @property Site $site
*/
class DeploymentScript extends AbstractModel
{
use HasFactory;
protected $fillable = [
'site_id',
'name',
'content',
];
protected $casts = [
'site_id' => 'integer',
];
public function site(): BelongsTo
{
return $this->belongsTo(Site::class);
}
}