Budget
extends SubDecision
in package
Budget decision.
Attributes
- #[Entity]
Table of Contents
Properties
- $approval : bool
- If the budget was approved.
- $changes : bool
- If there were changes made.
- $content : string
- Content.
- $date : DateTime
- Date of the budget.
- $decision : Decision
- Decision.
- $decision_number : int
- Decision number.
- $decision_point : int
- Decision point.
- $meeting_number : int
- Meeting number.
- $meeting_type : MeetingTypes
- Meeting type.
- $member : Member|null
- The member involved in this sub-decision.
- $name : string
- Name of the budget.
- $sequence : int
- Sub decision sequence number.
- $version : string
- Version of the budget.
Methods
- getApproval() : bool
- Get approval status.
- getChanges() : bool
- Get if changes were made.
- getContent() : string
- Get the content.
- getDate() : DateTime
- Get the date.
- getDecision() : Decision
- Get the decision.
- getDecisionNumber() : int
- Get the decision number.
- getDecisionPoint() : int
- Get the decision point number.
- getMeetingNumber() : int
- Get the meeting number.
- getMeetingType() : MeetingTypes
- Get the meeting type.
- getMember() : Member|null
- Get the member.
- getName() : string
- Get the name.
- getSequence() : int
- Get the sequence number.
- getVersion() : string
- Get the version.
- setApproval() : void
- Set approval status.
- setChanges() : void
- Set if changes were made.
- setContent() : void
- Set the content.
- setDate() : void
- Set the date.
- setDecision() : void
- Set the decision.
- setMember() : void
- Set the member.
- setName() : void
- Set the name.
- setSequence() : void
- Set the sequence number.
- setVersion() : void
- Set the version.
- toGdprArray() : SubDecisionGdprArrayType
Properties
$approval
If the budget was approved.
protected
bool
$approval
Attributes
- #[Column]
- $type: 'boolean'
$changes
If there were changes made.
protected
bool
$changes
Attributes
- #[Column]
- $type: 'boolean'
$content
Content.
protected
string
$content
Attributes
- #[Column]
- $type: 'text'
$date
Date of the budget.
protected
DateTime
$date
Attributes
- #[Column]
- $type: 'date'
$decision
Decision.
protected
Decision
$decision
Attributes
- #[JoinColumn]
- $name: 'meeting_type'
- $referencedColumnName: 'meeting_type'
- #[JoinColumn]
- $name: 'meeting_number'
- $referencedColumnName: 'meeting_number'
- #[JoinColumn]
- $name: 'decision_point'
- $referencedColumnName: 'point'
- #[JoinColumn]
- $name: 'decision_number'
- $referencedColumnName: 'number'
- #[ManyToOne]
- $targetEntity: \Decision\Model\Decision::class
- $inversedBy: 'subdecisions'
$decision_number
Decision number.
protected
int
$decision_number
NOTE: This is a hack to make the decision a primary key here.
Attributes
- #[Column]
- $type: 'integer'
- #[Id]
$decision_point
Decision point.
protected
int
$decision_point
NOTE: This is a hack to make the decision a primary key here.
Attributes
- #[Column]
- $type: 'integer'
- #[Id]
$meeting_number
Meeting number.
protected
int
$meeting_number
NOTE: This is a hack to make the decision a primary key here.
Attributes
- #[Column]
- $type: 'integer'
- #[Id]
$meeting_type
Meeting type.
protected
MeetingTypes
$meeting_type
NOTE: This is a hack to make the decision a primary key here.
Attributes
- #[Column]
- $type: 'string'
- $enumType: \Decision\Model\Enums\MeetingTypes::class
- #[Id]
$member
The member involved in this sub-decision.
protected
Member|null
$member
= null
Not all sub-decisions require this, as such it is nullable. However, sub-decisions that need the guarantee that this is not null or need to specify an inverse side can do so using an association override.
Attributes
- #[JoinColumn]
- $name: 'lidnr'
- $referencedColumnName: 'lidnr'
- $nullable: true
- #[ManyToOne]
- $targetEntity: \Decision\Model\Member::class
$name
Name of the budget.
protected
string
$name
Attributes
- #[Column]
- $type: 'string'
$sequence
Sub decision sequence number.
protected
int
$sequence
Attributes
- #[Column]
- $type: 'integer'
- #[Id]
$version
Version of the budget.
protected
string
$version
Attributes
- #[Column]
- $type: 'string'
- $length: 32
Methods
getApproval()
Get approval status.
public
getApproval() : bool
Return values
boolgetChanges()
Get if changes were made.
public
getChanges() : bool
Return values
boolgetContent()
Get the content.
public
getContent() : string
Return values
stringgetDate()
Get the date.
public
getDate() : DateTime
Return values
DateTimegetDecision()
Get the decision.
public
getDecision() : Decision
Return values
DecisiongetDecisionNumber()
Get the decision number.
public
getDecisionNumber() : int
Return values
intgetDecisionPoint()
Get the decision point number.
public
getDecisionPoint() : int
Return values
intgetMeetingNumber()
Get the meeting number.
public
getMeetingNumber() : int
Return values
intgetMeetingType()
Get the meeting type.
public
getMeetingType() : MeetingTypes
Return values
MeetingTypesgetMember()
Get the member.
public
getMember() : Member|null
Return values
Member|nullgetName()
Get the name.
public
getName() : string
Return values
stringgetSequence()
Get the sequence number.
public
getSequence() : int
Return values
intgetVersion()
Get the version.
public
getVersion() : string
Return values
stringsetApproval()
Set approval status.
public
setApproval(bool $approval) : void
Parameters
- $approval : bool
setChanges()
Set if changes were made.
public
setChanges(bool $changes) : void
Parameters
- $changes : bool
setContent()
Set the content.
public
setContent(string $content) : void
Parameters
- $content : string
setDate()
Set the date.
public
setDate(DateTime $date) : void
Parameters
- $date : DateTime
setDecision()
Set the decision.
public
setDecision(Decision $decision) : void
Parameters
- $decision : Decision
setMember()
Set the member.
public
setMember(Member $member) : void
Parameters
- $member : Member
setName()
Set the name.
public
setName(string $name) : void
Parameters
- $name : string
setSequence()
Set the sequence number.
public
setSequence(int $sequence) : void
Parameters
- $sequence : int
setVersion()
Set the version.
public
setVersion(string $version) : void
Parameters
- $version : string
toGdprArray()
public
toGdprArray() : SubDecisionGdprArrayType