1: <?php
2:
3: declare(strict_types=1);
4:
5: namespace LaravelUi5\OData\Protocol\Planning;
6:
7: /**
8: * A computed property definition from $compute.
9: *
10: * Carries the raw OData expression string and the alias name.
11: * The expression is evaluated at response time against each row.
12: */
13: final readonly class ComputedProperty
14: {
15: public function __construct(
16: public string $alias,
17: public string $expression,
18: ) {}
19: }
20: