ActivityOptionProposal
in package
implements
OrganResourceInterface
uses
IdentifiableTrait
Activity calendar activity option proposal model.
Attributes
- #[Entity]
Table of Contents
Interfaces
Properties
- $creationTime : DateTime
- The date and time the activity option was created.
- $creator : Member
- Who created this activity option.
- $description : string
- Description for the activity option proposal.
- $id : int|null
- The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.
- $name : string
- Name for the activity option proposal.
- $organ : Organ|null
- Who created this activity proposal.
- $organAlt : string|null
- Who created this activity proposal, if not an organ.
Methods
- getCreationTime() : DateTime
- getCreator() : Member
- getCreatorAlt() : string
- Returns in order of presense: 1. The abbreviation of the related organ 2. The alternative for an organ, other organising parties 3. The full name of the member who created the proposal.
- getDescription() : string
- getId() : int|null
- Get the identifier of the object.
- getName() : string
- getOrgan() : Organ|null
- getOrganAlt() : string|null
- getResourceId() : string
- Returns the string identifier of the Resource.
- getResourceOrgan() : Organ|null
- Get the organ of this resource.
- setCreationTime() : void
- setCreator() : void
- setDescription() : void
- setId() : void
- Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!
- setName() : void
- setOrgan() : void
- setOrganAlt() : void
Properties
$creationTime
The date and time the activity option was created.
protected
DateTime
$creationTime
Attributes
- #[Column]
- $type: 'datetime'
$creator
Who created this activity option.
protected
Member
$creator
Attributes
- #[JoinColumn]
- $referencedColumnName: 'lidnr'
- $nullable: false
- #[ManyToOne]
- $targetEntity: \Decision\Model\Member::class
$description
Description for the activity option proposal.
protected
string
$description
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]
$name
Name for the activity option proposal.
protected
string
$name
Attributes
- #[Column]
- $type: 'string'
$organ
Who created this activity proposal.
protected
Organ|null
$organ
= null
Attributes
- #[JoinColumn]
- $referencedColumnName: 'id'
- $nullable: true
- #[ManyToOne]
- $targetEntity: \Decision\Model\Organ::class
$organAlt
Who created this activity proposal, if not an organ.
protected
string|null
$organAlt
= null
Attributes
- #[Column]
- $type: 'string'
- $nullable: true
Methods
getCreationTime()
public
getCreationTime() : DateTime
Return values
DateTimegetCreator()
public
getCreator() : Member
Return values
MembergetCreatorAlt()
Returns in order of presense: 1. The abbreviation of the related organ 2. The alternative for an organ, other organising parties 3. The full name of the member who created the proposal.
public
getCreatorAlt() : string
Return values
stringgetDescription()
public
getDescription() : string
Return values
stringgetId()
Get the identifier of the object.
public
getId() : int|null
Tags
Return values
int|nullgetName()
public
getName() : string
Return values
stringgetOrgan()
public
getOrgan() : Organ|null
Return values
Organ|nullgetOrganAlt()
public
getOrganAlt() : string|null
Return values
string|nullgetResourceId()
Returns the string identifier of the Resource.
public
getResourceId() : string
Return values
stringgetResourceOrgan()
Get the organ of this resource.
public
getResourceOrgan() : Organ|null
Return values
Organ|nullsetCreationTime()
public
setCreationTime(DateTime $creationTime) : void
Parameters
- $creationTime : DateTime
setCreator()
public
setCreator(Member $creator) : void
Parameters
- $creator : Member
setDescription()
public
setDescription(string $description) : void
Parameters
- $description : 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
setName()
public
setName(string $name) : void
Parameters
- $name : string
setOrgan()
public
setOrgan(Organ|null $organ) : void
Parameters
- $organ : Organ|null
setOrganAlt()
public
setOrganAlt(string|null $organAlt) : void
Parameters
- $organAlt : string|null