Documentation

OrganMember
in package
uses IdentifiableTrait

Organ member entity.

Note that this entity is derived from the decisions themself.

Attributes
#[Entity]

Table of Contents

Properties

$dischargeDate  : DateTime|null
Discharge date.
$function  : string
Function.
$id  : int|null
The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.
$installation  : Installation
Installation.
$installDate  : DateTime
Installation date.
$member  : Member
Member.
$organ  : Organ
Organ.

Methods

getDischargeDate()  : DateTime|null
Get the discharge date.
getFunction()  : string
Get the function.
getId()  : int|null
Get the identifier of the object.
getInstallation()  : Installation
Get the installation.
getInstallDate()  : DateTime
Get the installation date.
getMember()  : Member
Get the member.
getOrgan()  : Organ
Get the organ.
setDischargeDate()  : void
Set the discharge date.
setFunction()  : void
Set the function.
setId()  : void
Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!
setInstallation()  : void
Set the installation.
setInstallDate()  : void
Set the installation date.
setMember()  : void
Set the member.
setOrgan()  : void
Set the organ.

Properties

$dischargeDate

Discharge date.

protected DateTime|null $dischargeDate = null
Attributes
#[Column]
$type: 'date'
$nullable: true

$function

Function.

protected string $function
Attributes
#[Column]
$type: 'string'

$id

The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.

protected int|null $id = null
Attributes
#[Column]
$type: 'integer'
#[GeneratedValue]
$strategy: 'IDENTITY'
#[Id]

$installation

Installation.

protected Installation $installation
Attributes
#[JoinColumn]
$name: 'r_meeting_type'
$referencedColumnName: 'meeting_type'
#[JoinColumn]
$name: 'r_meeting_number'
$referencedColumnName: 'meeting_number'
#[JoinColumn]
$name: 'r_decision_point'
$referencedColumnName: 'decision_point'
#[JoinColumn]
$name: 'r_decision_number'
$referencedColumnName: 'decision_number'
#[JoinColumn]
$name: 'r_sequence'
$referencedColumnName: 'sequence'
#[OneToOne]
$targetEntity: \Decision\Model\SubDecision\Installation::class
$inversedBy: 'organMember'

$installDate

Installation date.

protected DateTime $installDate
Attributes
#[Column]
$type: 'date'

$member

Member.

protected Member $member
Attributes
#[JoinColumn]
$name: 'lidnr'
$referencedColumnName: 'lidnr'
#[ManyToOne]
$targetEntity: \Decision\Model\Member::class
$inversedBy: 'organInstallations'

$organ

Organ.

protected Organ $organ
Attributes
#[ManyToOne]
$targetEntity: \Decision\Model\Organ::class
$inversedBy: 'members'

Methods

getDischargeDate()

Get the discharge date.

public getDischargeDate() : DateTime|null
Return values
DateTime|null

getFunction()

Get the function.

public getFunction() : string
Return values
string

getId()

Get the identifier of the object.

public getId() : int|null
Tags
psalm-ignore-nullable-return
Return values
int|null

getInstallDate()

Get the installation date.

public getInstallDate() : DateTime
Return values
DateTime

setDischargeDate()

Set the discharge date.

public setDischargeDate(DateTime|null $dischargeDate) : void
Parameters
$dischargeDate : DateTime|null

setFunction()

Set the function.

public setFunction(string $function) : void
Parameters
$function : string

setId()

Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!

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

setInstallDate()

Set the installation date.

public setInstallDate(DateTime $installDate) : void
Parameters
$installDate : DateTime

        
On this page

Search results