# give/4.16.8.1/src/Framework/Models/ValueObjects/Relationship.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.8.1. 26 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.8.1/code/src/Framework/Models/ValueObjects/Relationship.php
- Raw: https://pluginprobe.com/plugins/give/4.16.8.1/raw/src/Framework/Models/ValueObjects/Relationship.php
- Modified: 2024-10-17T01:45:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.8.1/code/src/Framework/Models/ValueObjects/Relationship.php#L10-L20`.

```php
<?php

namespace Give\Framework\Models\ValueObjects;

use Give\Framework\Support\ValueObjects\Enum;

/**
 * Model Relationships
 *
 * @since 2.19.6
 *
 * @method static Relationship HAS_ONE();
 * @method static Relationship HAS_MANY();
 * @method static Relationship MANY_TO_MANY();
 * @method static Relationship BELONGS_TO();
 * @method static Relationship BELONGS_TO_MANY();
 */
class Relationship extends Enum
{
    const HAS_ONE = 'has-one';
    const HAS_MANY = 'has-many';
    const MANY_TO_MANY = 'many-to-many';
    const BELONGS_TO = 'belongs-to';
    const BELONGS_TO_MANY = 'belongs-to-many';
}

```
