1: <?php
2:
3: declare(strict_types=1);
4:
5: namespace LaravelUi5\OData\Vocabularies\Common\V1;
6:
7: /**
8: * A record that behaves like the standard referential constraint on the navigation property targeted by a [`ReferentialConstraint`](#ReferentialConstraint) annotation,
9: but the nullability requirement for the dependent property is lifted.
10: It asserts that the principal property _of an existing related entity_
11: must have the same value as the dependent property.
12: */
13: final readonly class ReferentialConstraintType
14: {
15: public function __construct(
16: public readonly string $property,
17: public readonly string $referencedProperty,
18: ) {}
19: }
20: