Files
modelos/src/nuevo/Venta/EstadoCierre.php

26 lines
455 B
PHP
Raw Normal View History

2019-12-23 18:01:36 -03:00
<?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();
}
}
?>