Documentation

Ticket
in package

Tags
ORM\Entity

(repositoryClass=TicketRepository::class)

Table of Contents

$date  : DateTime
$description  : string|null
$id  : int|null
$importance  : int|null
$pj  : PieceJointe|Collection
$status  : Status|null
$technicien  : Technicien|null
$tempsEstime  : mixed
$tempsReel  : mixed
$type  : mixed
__construct()  : mixed
addPj()  : self
getDate()  : DateTimeInterface|null
getDescription()  : string|null
getId()  : int|null
getImportance()  : int|null
getImportanceColor()  : string
getPj()  : Collection|array<string|int, PieceJointe>
getStatus()  : Status|null
getTechnicien()  : Technicien|null
getTempsEstime()  : float|null
getTempsReel()  : float|null
getType()  : TicketType|null
removePj()  : self
setDate()  : self
setDescription()  : self
setImportance()  : self
setStatus()  : self
setTechnicien()  : self
setTempsEstime()  : self
setTempsReel()  : self
setType()  : self

Properties

$date

private DateTime $date
Tags
ORM\Column

(type="datetime")

$description

private string|null $description
Tags
ORM\Column

(type="text")

$id

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

(type="integer")

$importance

private int|null $importance
Tags
ORM\Column

(type="integer")

$pj

private PieceJointe|Collection $pj
Tags
ORM\OneToMany

(targetEntity=PieceJointe::class, mappedBy="ticket",cascade={"persist","remove"})

$status

private Status|null $status
Tags
ORM\ManyToOne

(targetEntity=Status::class, inversedBy="tickets")

$technicien

private Technicien|null $technicien
Tags
ORM\ManyToOne

(targetEntity=Technicien::class, inversedBy="tickets")

ORM\JoinColumn

(nullable=false)

$tempsEstime

private mixed $tempsEstime
Tags
ORM\Column

(type="float", nullable=true)

$tempsReel

private mixed $tempsReel
Tags
ORM\Column

(type="float", nullable=true)

$type

private mixed $type
Tags
ORM\ManyToOne

(targetEntity=TicketType::class, inversedBy="tickets")

Methods

getDate()

public getDate() : DateTimeInterface|null
Return values
DateTimeInterface|null

getDescription()

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

getId()

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

getImportance()

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

getImportanceColor()

public getImportanceColor() : string
Return values
string

getTempsEstime()

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

getTempsReel()

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

setDate()

public setDate(DateTimeInterface $date) : self
Parameters
$date : DateTimeInterface
Return values
self

setDescription()

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

setImportance()

public setImportance(int $importance) : self
Parameters
$importance : int
Return values
self

setStatus()

public setStatus(Status|null $status) : self
Parameters
$status : Status|null
Return values
self

setTechnicien()

public setTechnicien(Technicien|null $technicien) : self
Parameters
$technicien : Technicien|null
Return values
self

setTempsEstime()

public setTempsEstime(float|null $tempsEstime) : self
Parameters
$tempsEstime : float|null
Return values
self

setTempsReel()

public setTempsReel(float $tempsReel) : self
Parameters
$tempsReel : float
Return values
self

Search results