Documentation

Ticket
in package

Tags
ORM\Entity

(repositoryClass=TicketRepository::class)

Table of Contents

$date  : mixed
$description  : mixed
$id  : mixed
$pj  : mixed
$status  : mixed
$technicien  : mixed
__construct()  : mixed
addPj()  : self
getDate()  : DateTimeInterface|null
getDescription()  : string|null
getId()  : int|null
getPj()  : Collection|array<string|int, PieceJointe>
getStatus()  : Status|null
getTechnicien()  : Technicien|null
removePj()  : self
setDate()  : self
setDescription()  : self
setStatus()  : self
setTechnicien()  : self

Properties

$date

private mixed $date
Tags
ORM\Column

(type="datetime")

$description

private mixed $description
Tags
ORM\Column

(type="text")

$id

private mixed $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer")

$pj

private mixed $pj
Tags
ORM\OneToMany

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

$status

private mixed $status
Tags
ORM\ManyToOne

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

$technicien

private mixed $technicien
Tags
ORM\ManyToOne

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

ORM\JoinColumn

(nullable=false)

Methods

__construct()

public __construct() : mixed
Return values
mixed

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

setDate()

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

setDescription()

public setDescription(string $description) : self
Parameters
$description : string
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

Search results