This commit is contained in:
2020-12-01 17:23:13 -03:00
parent 09e8c226bb
commit 9852a8cbdc
274 changed files with 24706 additions and 0 deletions

20
app/Definition/hasRUT.php Normal file
View File

@ -0,0 +1,20 @@
<?php
namespace App\Definition;
/**
*
* @author Aldarien
* @property int rut
* @property char dv
*
*/
trait hasRUT
{
protected static $_id_column = 'rut';
public function fullRut()
{
return format('rut', $this->rut) . '-' . $this->dv;
}
}
?>