Documentation

ReportType
in package
implements JsonSerializable, ReportType

Class ReportType

Tags
ORM\Entity

(repositoryClass="Vatjar\Data\Repository\ReportTypeRepository")

ORM\Table

(name="report_type")

Table of Contents

Interfaces

JsonSerializable
ReportType

Constants

EC  = 2
VAT  = 1

Properties

$entries  : array<string|int, Entry>|null
$id  : int|null
$name  : string|null
$reportObligations  : array<string|int, ReportObligation>|null
$reportTypePaymentProcedure  : array<string|int, ReportTypePaymentProcedure>|null

Methods

getEntries()  : array<string|int, Entry>|null
getId()  : int|null
getName()  : string|null
getReportObligations()  : array<string|int, ReportObligation>|null
jsonSerialize()  : mixed
Specify data which should be serialized to JSON
setEntries()  : void
setId()  : void
setName()  : void
setReportObligations()  : void

Constants

Properties

$entries

private array<string|int, Entry>|null $entries
Tags
ORM\OneToMany

(targetEntity="Entry", mappedBy="reportType")

$id

private int|null $id
Tags
ORM\Id

()

ORM\GeneratedValue

()

ORM\Column

(type="integer")

$name

private string|null $name
Tags
ORM\Column

(type="string")

$reportObligations

private array<string|int, ReportObligation>|null $reportObligations
Tags
ORM\OneToMany

(targetEntity="ReportObligation", mappedBy="reportType")

$reportTypePaymentProcedure

private array<string|int, ReportTypePaymentProcedure>|null $reportTypePaymentProcedure
Tags
ORM\OneToMany

(targetEntity="ReportTypePaymentProcedure", mappedBy="reportType")

Methods

getEntries()

public getEntries() : array<string|int, Entry>|null
Return values
array<string|int, Entry>|null

getId()

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

getName()

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

setEntries()

public setEntries(array<string|int, Entry>|Collection|null $entries) : void
Parameters
$entries : array<string|int, Entry>|Collection|null

setId()

public setId(int|null $id) : void
Parameters
$id : int|null

setName()

public setName(string|null $name) : void
Parameters
$name : string|null

setReportObligations()

public setReportObligations(array<string|int, ReportObligation>|Collection|null $reportObligations) : void
Parameters
$reportObligations : array<string|int, ReportObligation>|Collection|null

        
On this page

Search results