Documentación de Proyecto Sincro

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
@implements

JsonSerializable para el uso sencillo en DAOs

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

$depositoarrastre

private int $depositoarrastre

$fechacreacion

private string $fechacreacion

$fechainicio

private string $fechainicio

$habilitado

private bool $habilitado

$kilosarrastre

private float $kilosarrastre

$laboratorio

private int $laboratorio

$observaciones

private string $observaciones

$rendimientoestimado

private float $rendimientoestimado

$rendimientoreal

private float $rendimientoreal

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
Partida

getAcidez()

public getAcidez() : float
Return values
float

getArrastre()

public getArrastre() : int
Return values
int

getCamino()

public getCamino() : int
Return values
int

getCampania()

public getCampania() : int
Return values
int

getCentro()

public getCentro() : int
Return values
int

getCif()

public getCif() : string
Return values
string

getDepositoarrastre()

public getDepositoarrastre() : int
Return values
int

getFechacreacion()

public getFechacreacion() : string
Return values
string

getFechafin()

public getFechafin() : string
Return values
string

getFechainicio()

public getFechainicio() : string
Return values
string

getId()

public getId() : int|null
Return values
int|null

getKilos()

public getKilos() : float
Return values
float

getKilosarrastre()

public getKilosarrastre() : float
Return values
float

getLaboratorio()

public getLaboratorio() : int
Return values
int

getNpartida()

public getNpartida() : string
Return values
string

getObservaciones()

public getObservaciones() : string
Return values
string

getPrecio()

public getPrecio() : float
Return values
float

getRendimientoestimado()

public getRendimientoestimado() : float
Return values
float

getRendimientoreal()

public getRendimientoreal() : float
Return values
float

getSosa()

public getSosa() : int
Return values
int

getTalco()

public getTalco() : int
Return values
int

getTipo()

public getTipo() : int
Return values
int

getTolva()

public getTolva() : int
Return values
int

isHabilitado()

public isHabilitado() : bool
Return values
bool

jsonSerialize()

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

        
On this page

Search results