Activity
in package
Activité professionnelle proposée sur une carte de visite virtuelle.
Une activité appartient au plus à une carte virtuelle BusinessCardAize (relation facultative, non exclusive) et porte un nom ainsi qu'une brochure optionnelle, typiquement un document à télécharger présentant l'offre. À ne pas confondre avec CompanyActivity, qui rattache une activité à une entreprise plutôt qu'à une carte.
Attributes
- #[Entity]
- $repositoryClass: \App\Repository\ActivityRepository::class
Table of Contents
Properties
- $brochure : string|null
- $businessCardAize : BusinessCardAize|null
- $id : int|null
- $name : string|null
Methods
- getBrochure() : string|null
- getBusinessCardAize() : BusinessCardAize|null
- getId() : int|null
- getName() : string|null
- setBrochure() : static
- setBusinessCardAize() : static
- setName() : static
Properties
$brochure
private
string|null
$brochure
= null
Attributes
- #[Column]
- $length: 255
- $nullable: true
$businessCardAize
private
BusinessCardAize|null
$businessCardAize
= null
Attributes
- #[ManyToOne]
- $inversedBy: 'activities'
$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|nullgetBusinessCardAize()
public
getBusinessCardAize() : BusinessCardAize|null
Return values
BusinessCardAize|nullgetId()
public
getId() : int|null
Return values
int|nullgetName()
public
getName() : string|null
Return values
string|nullsetBrochure()
public
setBrochure(string|null $brochure) : static
Parameters
- $brochure : string|null
Return values
staticsetBusinessCardAize()
public
setBusinessCardAize(BusinessCardAize|null $businessCardAize) : static
Parameters
- $businessCardAize : BusinessCardAize|null
Return values
staticsetName()
public
setName(string $name) : static
Parameters
- $name : string