pla-version/app/Models/Site.php

18 lines
237 B
PHP
Raw Permalink Normal View History

2023-03-02 23:29:39 +00:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Site extends Model
{
protected $fillable = ['ip_address'];
/* RELATIONS */
public function versions()
{
return $this->hasMany(SiteVersion::class);
}
}