Dependencies

This commit is contained in:
2021-03-25 21:25:17 -03:00
parent e515612412
commit cd1ee7d446
157 changed files with 8216 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<?php
namespace Incoviba\nuevo\Venta;
use Carbon\Carbon;
use Incoviba\Common\Alias\NewEstado;
/**
*
* @author Aldarien
* @property Postventa postventa_id
* @property TipoEstadoPostventa tipo_estado_postventa_id
*
*/
class EstadoPostventa extends NewEstado
{
protected static $_table = 'estado_postventas';
public function postventa()
{
return $this->belongs_to(Postventa::class, 'postventa_id')->findOne();
}
public function tipo()
{
return $this->belongs_to(TipoEstadoPostventa::class, 'tipo_estado_postventa_id')->findOne();
}
}
?>