This commit is contained in:
Juan Pablo Vial
2023-07-24 20:41:38 -04:00
parent 6ab24c8961
commit be33305cf1
612 changed files with 11436 additions and 107 deletions

View File

@ -0,0 +1,24 @@
<?php
namespace Incoviba\nuevo\Common;
use Incoviba\Common\Alias\NewModel;
/**
*
* @author Aldarien
* @property int id
* @property string descripcion
* @property string nombre
* @property string numeral
* @property int orden
*
*/
class Region extends NewModel
{
protected static $_table = 'regiones';
public function provincias()
{
return $this->has_many(Provincia::class, 'region_id')->findMany();
}
}