PartidaExternaDeposito
in package
implements
JsonSerializable
Modelado de la tabla 'PartidaExternaDeposito'
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
- $cif : string
- $id : int
- $kilos : float
- $partidaExterna : int
- $subtipo : int
Methods
- __construct() : mixed
- getCif() : string
- getId() : int
- getKilos() : float
- getPartidaExterna() : int
- getSubtipo() : int
- jsonSerialize() : array<string|int, mixed>
- setCif() : void
- setId() : void
- setKilos() : void
- setPartidaExterna() : void
- setSubtipo() : void
Properties
$cif
private
string
$cif
$id
private
int
$id
$kilos
private
float
$kilos
$partidaExterna
private
int
$partidaExterna
$subtipo
private
int
$subtipo
Methods
__construct()
public
__construct([int $id = 0 ][, int $partidaExterna = 0 ][, int $subtipo = 0 ][, float $kilos = 0.0 ][, string $cif = "" ]) : mixed
Parameters
- $id : int = 0
- $partidaExterna : int = 0
- $subtipo : int = 0
- $kilos : float = 0.0
- $cif : string = ""
getCif()
public
getCif() : string
Return values
stringgetId()
public
getId() : int
Return values
intgetKilos()
public
getKilos() : float
Return values
floatgetPartidaExterna()
public
getPartidaExterna() : int
Return values
intgetSubtipo()
public
getSubtipo() : int
Return values
intjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>setCif()
public
setCif(string $cif) : void
Parameters
- $cif : string
setId()
public
setId(int $id) : void
Parameters
- $id : int
setKilos()
public
setKilos(float $kilos) : void
Parameters
- $kilos : float
setPartidaExterna()
public
setPartidaExterna(int $partidaExterna) : void
Parameters
- $partidaExterna : int
setSubtipo()
public
setSubtipo(int $subtipo) : void
Parameters
- $subtipo : int