lasthourcloud/app/Models/Project.php

14 lines
252 B
PHP
Raw Normal View History

<?php
namespace App\Models;
class Project extends BaseModel
{
public function environments() {
return $this->hasMany(Environment::class);
}
public function settings() {
return $this->hasOne(ProjectSetting::class);
}
}