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,14 @@
<?php
namespace Incoviba\nuevo\Venta;
use Incoviba\Common\Alias\NewTipo;
class TipoPago extends NewTipo
{
protected static $_table = 'tipo_pagos';
public function pagos()
{
return $this->hasMany(Pago::class, 'tipo_id')->findMany();
}
}