BoardMember
in package
uses
IdentifiableTrait
Board 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.
- $installationDec : Installation
- Installation.
- $installDate : DateTime
- Installation date.
- $member : Member
- Member lidnr.
- $releaseDate : DateTime|null
- Release date.
Methods
- getDischargeDate() : DateTime|null
- Get the discharge date.
- getFunction() : string
- Get the function.
- getId() : int|null
- Get the identifier of the object.
- getInstallationDec() : Installation
- Get the installation decision.
- getInstallDate() : DateTime
- Get the installation date.
- getMember() : Member
- Get the member.
- getReleaseDate() : DateTime|null
- Get the release date.
- 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!
- setInstallationDec() : void
- Set the installation decision.
- setInstallDate() : void
- Set the installation date.
- setMember() : void
- Set the member.
- setReleaseDate() : void
- Set the release date.
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]
$installationDec
Installation.
protected
Installation
$installationDec
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\Board\Installation::class
- $inversedBy: 'boardMember'
$installDate
Installation date.
protected
DateTime
$installDate
Attributes
- #[Column]
- $type: 'date'
$member
Member lidnr.
protected
Member
$member
Attributes
- #[JoinColumn]
- $name: 'lidnr'
- $referencedColumnName: 'lidnr'
- $nullable: false
- #[ManyToOne]
- $targetEntity: \Decision\Model\Member::class
- $inversedBy: 'boardInstallations'
$releaseDate
Release date.
protected
DateTime|null
$releaseDate
= null
Attributes
- #[Column]
- $type: 'date'
- $nullable: true
Methods
getDischargeDate()
Get the discharge date.
public
getDischargeDate() : DateTime|null
Return values
DateTime|nullgetFunction()
Get the function.
public
getFunction() : string
Return values
stringgetId()
Get the identifier of the object.
public
getId() : int|null
Tags
Return values
int|nullgetInstallationDec()
Get the installation decision.
public
getInstallationDec() : Installation
Return values
InstallationgetInstallDate()
Get the installation date.
public
getInstallDate() : DateTime
Return values
DateTimegetMember()
Get the member.
public
getMember() : Member
Return values
MembergetReleaseDate()
Get the release date.
public
getReleaseDate() : DateTime|null
Return values
DateTime|nullsetDischargeDate()
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
setInstallationDec()
Set the installation decision.
public
setInstallationDec(Installation $installationDec) : void
Parameters
- $installationDec : Installation
setInstallDate()
Set the installation date.
public
setInstallDate(DateTime $installDate) : void
Parameters
- $installDate : DateTime
setMember()
Set the member.
public
setMember(Member $member) : void
Parameters
- $member : Member
setReleaseDate()
Set the release date.
public
setReleaseDate(DateTime|null $releaseDate) : void
Parameters
- $releaseDate : DateTime|null