Nuevo models

This commit is contained in:
2019-12-23 18:01:36 -03:00
parent f67ab72e2a
commit eeb725200a
67 changed files with 2171 additions and 0 deletions

View File

@ -0,0 +1,22 @@
<?php
namespace Incoviba\nuevo\Proyecto;
use Incoviba\Common\Alias\NewModel;
/**
*
* @author Aldarien
* @property int id
* @property string descripcion
* @property int orden
*
*/
class Etapa extends NewModel
{
protected static $_table = 'etapas';
public function tipos()
{
return $this->hasMany(TipoEstadoProyecto::class, 'etapa_id')->findMany();
}
}