Documentación de Proyecto Sincro

ProveedorMatricula
in package
implements JsonSerializable

Modelado de la tabla 'ProveedorMatricula'

Se acepta el uso de nulos en campos opcionales como ID. Expone atrbituos getters y setters asi como constructor por fila SQL ( fromRow )

Tags
@implements

JsonSerializable para el uso sencillo en DAOs

Table of Contents

Interfaces

JsonSerializable

Properties

$habilitado  : mixed
$id  : mixed
$matricula  : mixed
$proveedor  : mixed

Methods

__construct()  : mixed
getId()  : int
getMatricula()  : string
getProveedor()  : int
isHabilitado()  : bool
jsonSerialize()  : array<string|int, mixed>
setHabilitado()  : void
setId()  : void
setMatricula()  : void
setProveedor()  : void

Properties

Methods

__construct()

public __construct([int $id = 0 ][, int $proveedor = 0 ][, string $matricula = '' ][, bool $habilitado = false ]) : mixed
Parameters
$id : int = 0
$proveedor : int = 0
$matricula : string = ''
$habilitado : bool = false

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

setHabilitado()

public setHabilitado(bool $habilitado) : void
Parameters
$habilitado : bool

setMatricula()

public setMatricula(string $matricula) : void
Parameters
$matricula : string

setProveedor()

public setProveedor(int $cliente) : void
Parameters
$cliente : int

        
On this page

Search results