Documentation

Prestation
in package

Tags
ORM\Entity

(repositoryClass=PrestationRepository::class)

Table of Contents

$description  : string
$devis  : Devis|null
$id  : int|null
$quantite  : int|null
$ttc  : float|null
$type  : string|null
__construct()  : mixed
__toString()  : mixed
getDescription()  : string|null
getDevis()  : Devis|null
getHT()  : float
getId()  : int|null
getPrix()  : mixed
getQuantite()  : int|null
getTotalHT()  : float
getTotalTTC()  : float|int
getTtc()  : float|null
getType()  : string|null
isComposant()  : bool
isFraisKm()  : bool
isMO()  : bool
setDescription()  : self
setDevis()  : self
setQuantite()  : self
setTtc()  : self
setType()  : self

Properties

$description

private string $description
Tags
ORM\Column

(type="text")

$devis

private Devis|null $devis
Tags
ORM\ManyToOne

(targetEntity=Devis::class, inversedBy="prestation",cascade={"persist"})

$id

private int|null $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer")

$quantite

private int|null $quantite
Tags
ORM\Column

(type="integer")

$ttc

private float|null $ttc
Tags
ORM\Column

(type="float")

$type

private string|null $type
Tags
ORM\Column

(type="string", length=255)

Methods

__construct()

public __construct([mixed $description = '' ], mixed $quantite[, mixed $ttc = 0.0 ]) : mixed
Parameters
$description : mixed = ''
$quantite : mixed
$ttc : mixed = 0.0
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

getDescription()

public getDescription() : string|null
Return values
string|null

getHT()

public getHT(mixed $tva) : float
Parameters
$tva : mixed
Return values
float

getId()

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

getPrix()

public getPrix() : mixed
Return values
mixed

getQuantite()

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

getTotalHT()

public getTotalHT(mixed $tva) : float
Parameters
$tva : mixed
Return values
float

getTotalTTC()

public getTotalTTC() : float|int
Return values
float|int

getTtc()

public getTtc() : float|null
Return values
float|null

getType()

public getType() : string|null
Return values
string|null

isComposant()

public isComposant() : bool
Return values
bool

isFraisKm()

public isFraisKm() : bool
Return values
bool

isMO()

public isMO() : bool
Return values
bool

setDescription()

public setDescription(string $description) : self
Parameters
$description : string
Return values
self

setDevis()

public setDevis(Devis|null $devis) : self
Parameters
$devis : Devis|null
Return values
self

setQuantite()

public setQuantite(int $quantite) : self
Parameters
$quantite : int
Return values
self

setTtc()

public setTtc(float $ttc) : self
Parameters
$ttc : float
Return values
self

setType()

public setType(string $type) : self
Parameters
$type : string
Return values
self

Search results