PDF reading with python
This commit is contained in:
30
api/src/EstadoConeccion.php
Normal file
30
api/src/EstadoConeccion.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
namespace Contabilidad;
|
||||
|
||||
use ProVM\Common\Alias\Model;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property Coneccion $coneccion_id
|
||||
* @property DateTime $fecha
|
||||
* @property TipoEstadoConeccion $tipo_id
|
||||
*/
|
||||
class EstadoConeccion extends Model {
|
||||
public static $_table = 'estados_coneccion';
|
||||
protected static $fields = ['coneccion_id', 'fecha', 'tipo_id'];
|
||||
|
||||
protected $coneccion;
|
||||
public function coneccion() {
|
||||
if ($this->coneccion === null) {
|
||||
$this->coneccion = $this->childOf(Coneccion::class, [Model::SELF_KEY => 'coneccion_id']);
|
||||
}
|
||||
return $this->coneccion;
|
||||
}
|
||||
protected $tipo;
|
||||
public function tipo() {
|
||||
if ($this->tipo === null) {
|
||||
$this->tipo = $this->childOf(TipoEstadoConeccion::class, [Model::SELF_KEY => 'tipo_id']);
|
||||
}
|
||||
return $this->tipo;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user