BCard - Documentation technique

CompanyActivity
in package

Activité professionnelle rattachée à une entreprise {@see Company}.

Une entreprise porte zéro à plusieurs activités ; chacune appartient à une entreprise unique (jointure obligatoire). Elle porte un nom ainsi qu'une brochure optionnelle, typiquement un document à télécharger présentant l'activité. À ne pas confondre avec Activity, qui rattache une activité à une carte de visite virtuelle plutôt qu'à une entreprise.

Attributes
#[Entity]
$repositoryClass: \App\Repository\CompanyActivityRepository::class

Table of Contents

Properties

$brochure  : string|null
$company  : Company|null
$id  : int|null
$name  : string|null

Methods

getBrochure()  : string|null
getCompany()  : Company|null
getId()  : int|null
getName()  : string|null
setBrochure()  : static
setCompany()  : static
setName()  : static

Properties

$brochure

private string|null $brochure = null
Attributes
#[Column]
$length: 255
$nullable: true

$company

private Company|null $company = null
Attributes
#[JoinColumn]
$nullable: false
#[ManyToOne]
$inversedBy: 'companyActivities'

$id

private int|null $id = null
Attributes
#[Column]
#[GeneratedValue]
#[Id]

$name

private string|null $name = null
Attributes
#[Column]
$length: 255

Methods

getBrochure()

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

setBrochure()

public setBrochure(string|null $brochure) : static
Parameters
$brochure : string|null
Return values
static

setName()

public setName(string $name) : static
Parameters
$name : string
Return values
static

        
On this page

Search results