ClienteMatricula
in package
implements
JsonSerializable
Modelado de la tabla 'clienteMatricula'
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
- $cliente : mixed
- $habilitado : mixed
- $id : mixed
- $matricula : mixed
Methods
- __construct() : mixed
- getCliente() : int
- getId() : int
- getMatricula() : string
- isHabilitado() : bool
- jsonSerialize() : array<string|int, mixed>
- setCliente() : void
- setHabilitado() : void
- setId() : void
- setMatricula() : void
Properties
$cliente
private
mixed
$cliente
$habilitado
private
mixed
$habilitado
$id
private
mixed
$id
$matricula
private
mixed
$matricula
Methods
__construct()
public
__construct([int $id = 0 ][, int $cliente = 0 ][, string $matricula = '' ][, bool $habilitado = false ]) : mixed
Parameters
- $id : int = 0
- $cliente : int = 0
- $matricula : string = ''
- $habilitado : bool = false
getCliente()
public
getCliente() : int
Return values
intgetId()
public
getId() : int
Return values
intgetMatricula()
public
getMatricula() : string
Return values
stringisHabilitado()
public
isHabilitado() : bool
Return values
booljsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>setCliente()
public
setCliente(int $cliente) : void
Parameters
- $cliente : int
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