final |
|---|
readonly |
One relationship of a partner in partners.json — from the partner of the record to another partner, by its key.
The rungs of the installation's ladder (consultant, IT contact) are no relationship here: the tenant's configuration
names them.
{ "type": "employed_by", "to": "ACME", "function_title": "IT", "primary": true }
{ "type": "employed_by", "to": "ACME", "from": "2020-01-01", "until": "2026-06-30" }
A relationship with until has ended — a former employee, a past managing director, taken over from an old system
(TR‑OP31); without it the relationship stays open.
| Methods | ||
|---|---|---|
public
|
__construct(
RelationshipTypeCode $type,
string $to,
?string $function_title = null,
bool $primary = false,
?string $from = null,
?string $until = null,
)
|
# |
public
static
|
rules(): array<string, list<mixed>>
|
# |
| Properties | |||
|---|---|---|---|
public
|
RelationshipTypeCode
|
$type
|
# |
public
|
string
|
$to
|
# |
public
|
?string
|
$function_title
|
# |
public
|
bool
|
$primary
|
# |
public
|
?string
|
$from
|
# |
public
|
?string
|
$until
|
# |