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,26 @@
<?php
namespace Incoviba\nuevo\Venta;
use Incoviba\Common\Alias\NewEstado;
/**
*
* @author Aldarien
* @property Cierre $cierre_id
* @property TipoEstadoCierre $estado_id
*
*/
class EstadoCierre extends NewEstado
{
protected static $_table = 'estado_cierres';
public function cierre()
{
return $this->belongsTo(Cierre::class)->findOne();
}
public function estado()
{
return $this->belongsTo(TipoEstadoCierre::class)->findOne();
}
}
?>