Cree las rutas para la creacion de projectos

This commit is contained in:
Daniel Cortés
2019-07-03 01:28:51 -04:00
parent b15c2dc658
commit 53b709c175
22 changed files with 491 additions and 17 deletions

15
app/Project.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Project extends Model
{
protected $table = 'projects';
public function photos()
{
return $this->hasMany('App\ProjectPhoto');
}
}