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
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
$habilitado
private
mixed
$habilitado
$id
private
mixed
$id
$matricula
private
mixed
$matricula
$proveedor
private
mixed
$proveedor
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
getId()
public
getId() : int
Return values
intgetMatricula()
public
getMatricula() : string
Return values
stringgetProveedor()
public
getProveedor() : int
Return values
intisHabilitado()
public
isHabilitado() : bool
Return values
booljsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>setHabilitado()
public
setHabilitado(bool $habilitado) : void
Parameters
- $habilitado : bool
setId()
public
setId(int $id) : void
Parameters
- $id : int
setMatricula()
public
setMatricula(string $matricula) : void
Parameters
- $matricula : string
setProveedor()
public
setProveedor(int $cliente) : void
Parameters
- $cliente : int