Partida
in package
implements
JsonSerializable
Modelado de la tabla 'Partida'
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
- $acidez : float
- $arrastre : int
- $camino : int
- $campania : int
- $centro : int
- $cif : string
- $depositoarrastre : int
- $fechacreacion : string
- $fechafin : string
- $fechainicio : string
- $habilitado : bool
- $id : int|null
- $kilos : float
- $kilosarrastre : float
- $laboratorio : int
- $npartida : string
- $observaciones : string
- $precio : float
- $rendimientoestimado : float
- $rendimientoreal : float
- $sosa : int
- $talco : int
- $tipo : int
- $tolva : int
Methods
- __construct() : mixed
- fromArray() : Partida
- getAcidez() : float
- getArrastre() : int
- getCamino() : int
- getCampania() : int
- getCentro() : int
- getCif() : string
- getDepositoarrastre() : int
- getFechacreacion() : string
- getFechafin() : string
- getFechainicio() : string
- getId() : int|null
- getKilos() : float
- getKilosarrastre() : float
- getLaboratorio() : int
- getNpartida() : string
- getObservaciones() : string
- getPrecio() : float
- getRendimientoestimado() : float
- getRendimientoreal() : float
- getSosa() : int
- getTalco() : int
- getTipo() : int
- getTolva() : int
- isHabilitado() : bool
- jsonSerialize() : array<string|int, mixed>
- setAcidez() : void
- setArrastre() : void
- setCamino() : void
- setCampania() : void
- setCentro() : void
- setCif() : void
- setDepositoarrastre() : void
- setFechacreacion() : void
- setFechafin() : void
- setFechainicio() : void
- setHabilitado() : void
- setId() : void
- setKilos() : void
- setKilosarrastre() : void
- setLaboratorio() : void
- setNpartida() : void
- setObservaciones() : void
- setPrecio() : void
- setRendimientoestimado() : void
- setRendimientoreal() : void
- setSosa() : void
- setTalco() : void
- setTipo() : void
- setTolva() : void
Properties
$acidez
private
float
$acidez
$arrastre
private
int
$arrastre
$camino
private
int
$camino
$campania
private
int
$campania
$centro
private
int
$centro
$cif
private
string
$cif
$depositoarrastre
private
int
$depositoarrastre
$fechacreacion
private
string
$fechacreacion
$fechafin
private
string
$fechafin
$fechainicio
private
string
$fechainicio
$habilitado
private
bool
$habilitado
$id
private
int|null
$id
$kilos
private
float
$kilos
$kilosarrastre
private
float
$kilosarrastre
$laboratorio
private
int
$laboratorio
$npartida
private
string
$npartida
$observaciones
private
string
$observaciones
$precio
private
float
$precio
$rendimientoestimado
private
float
$rendimientoestimado
$rendimientoreal
private
float
$rendimientoreal
$sosa
private
int
$sosa
$talco
private
int
$talco
$tipo
private
int
$tipo
$tolva
private
int
$tolva
Methods
__construct()
public
__construct(int|null $id, string $npartida, string $fechainicio, string $fechafin, int $camino, int $tolva, float $kilos, int $arrastre, float $kilosarrastre, int $depositoarrastre, string $observaciones, string $fechacreacion, bool $habilitado, float $rendimientoestimado, float $rendimientoreal, int $centro, int $tipo, string $cif, int $laboratorio, int $campania, float $precio, int $talco, int $sosa, float $acidez) : mixed
Parameters
- $id : int|null
- $npartida : string
- $fechainicio : string
- $fechafin : string
- $camino : int
- $tolva : int
- $kilos : float
- $arrastre : int
- $kilosarrastre : float
- $depositoarrastre : int
- $observaciones : string
- $fechacreacion : string
- $habilitado : bool
- $rendimientoestimado : float
- $rendimientoreal : float
- $centro : int
- $tipo : int
- $cif : string
- $laboratorio : int
- $campania : int
- $precio : float
- $talco : int
- $sosa : int
- $acidez : float
fromArray()
public
static fromArray(mixed $data) : Partida
Parameters
- $data : mixed
Return values
PartidagetAcidez()
public
getAcidez() : float
Return values
floatgetArrastre()
public
getArrastre() : int
Return values
intgetCamino()
public
getCamino() : int
Return values
intgetCampania()
public
getCampania() : int
Return values
intgetCentro()
public
getCentro() : int
Return values
intgetCif()
public
getCif() : string
Return values
stringgetDepositoarrastre()
public
getDepositoarrastre() : int
Return values
intgetFechacreacion()
public
getFechacreacion() : string
Return values
stringgetFechafin()
public
getFechafin() : string
Return values
stringgetFechainicio()
public
getFechainicio() : string
Return values
stringgetId()
public
getId() : int|null
Return values
int|nullgetKilos()
public
getKilos() : float
Return values
floatgetKilosarrastre()
public
getKilosarrastre() : float
Return values
floatgetLaboratorio()
public
getLaboratorio() : int
Return values
intgetNpartida()
public
getNpartida() : string
Return values
stringgetObservaciones()
public
getObservaciones() : string
Return values
stringgetPrecio()
public
getPrecio() : float
Return values
floatgetRendimientoestimado()
public
getRendimientoestimado() : float
Return values
floatgetRendimientoreal()
public
getRendimientoreal() : float
Return values
floatgetSosa()
public
getSosa() : int
Return values
intgetTalco()
public
getTalco() : int
Return values
intgetTipo()
public
getTipo() : int
Return values
intgetTolva()
public
getTolva() : int
Return values
intisHabilitado()
public
isHabilitado() : bool
Return values
booljsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>setAcidez()
public
setAcidez(float $acidez) : void
Parameters
- $acidez : float
setArrastre()
public
setArrastre(int $arrastre) : void
Parameters
- $arrastre : int
setCamino()
public
setCamino(int $camino) : void
Parameters
- $camino : int
setCampania()
public
setCampania(int $campania) : void
Parameters
- $campania : int
setCentro()
public
setCentro(int $centro) : void
Parameters
- $centro : int
setCif()
public
setCif(string $cif) : void
Parameters
- $cif : string
setDepositoarrastre()
public
setDepositoarrastre(int $depositoarrastre) : void
Parameters
- $depositoarrastre : int
setFechacreacion()
public
setFechacreacion(string $fechacreacion) : void
Parameters
- $fechacreacion : string
setFechafin()
public
setFechafin(string $fechafin) : void
Parameters
- $fechafin : string
setFechainicio()
public
setFechainicio(string $fechainicio) : void
Parameters
- $fechainicio : string
setHabilitado()
public
setHabilitado(bool $habilitado) : void
Parameters
- $habilitado : bool
setId()
public
setId(int|null $id) : void
Parameters
- $id : int|null
setKilos()
public
setKilos(float $kilos) : void
Parameters
- $kilos : float
setKilosarrastre()
public
setKilosarrastre(float $kilosarrastre) : void
Parameters
- $kilosarrastre : float
setLaboratorio()
public
setLaboratorio(int $laboratorio) : void
Parameters
- $laboratorio : int
setNpartida()
public
setNpartida(string $npartida) : void
Parameters
- $npartida : string
setObservaciones()
public
setObservaciones(string $observaciones) : void
Parameters
- $observaciones : string
setPrecio()
public
setPrecio(float $precio) : void
Parameters
- $precio : float
setRendimientoestimado()
public
setRendimientoestimado(float $rendimientoestimado) : void
Parameters
- $rendimientoestimado : float
setRendimientoreal()
public
setRendimientoreal(float $rendimientoreal) : void
Parameters
- $rendimientoreal : float
setSosa()
public
setSosa(int $sosa) : void
Parameters
- $sosa : int
setTalco()
public
setTalco(int $talco) : void
Parameters
- $talco : int
setTipo()
public
setTipo(int $tipo) : void
Parameters
- $tipo : int
setTolva()
public
setTolva(int $tolva) : void
Parameters
- $tolva : int