Alias 1.0.1

This commit is contained in:
2019-12-23 18:09:00 -03:00
parent eeb725200a
commit d111073e62
4 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
<?php <?php
namespace App\Alias; namespace Incoviba\Common\Alias;
use Stringy\Stringy; use Stringy\Stringy;
use App\Contract\Auth; use App\Contract\Auth;

View File

@ -1,10 +1,10 @@
<?php <?php
namespace App\Alias; namespace Incoviba\Common\Alias;
use Carbon\Carbon; use Carbon\Carbon;
/** /**
* *
* @author Aldarien * @author Aldarien
* @property int id * @property int id
* @property Date fecha * @property Date fecha
@ -17,4 +17,4 @@ class NewEstado extends NewModel
return Carbon::parse($this->fecha, config('app.timezone')); return Carbon::parse($this->fecha, config('app.timezone'));
} }
} }
?> ?>

View File

@ -1,9 +1,9 @@
<?php <?php
namespace App\Alias; namespace Incoviba\Common\Alias;
class NewModel extends Model class NewModel extends Model
{ {
protected static $_connection_name = 'mysql_copy'; protected static $_connection_name = 'mysql_copy';
protected static $_timestamps = true; protected static $_timestamps = true;
} }
?> ?>

View File

@ -1,8 +1,8 @@
<?php <?php
namespace App\Alias; namespace Incoviba\Common\Alias;
/** /**
* *
* @author Aldarien * @author Aldarien
* @property int id * @property int id
* @property string descripcion * @property string descripcion
@ -12,4 +12,4 @@ class NewTipo extends NewModel
{ {
protected static $_timestamps = true; protected static $_timestamps = true;
} }
?> ?>