Total Complexity | 1 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | class Relation extends Identity implements FetchableInterface |
||
21 | { |
||
22 | public const ENTITY_NAME = "relation"; |
||
23 | |||
24 | public const RELATION_TYPE_RELATES = "relates"; |
||
25 | public const RELATION_TYPE_DUPLICATES = "duplicates"; |
||
26 | public const RELATION_TYPE_DUPLICATED = "duplicated"; |
||
27 | public const RELATION_TYPE_BLOCKS = "blocks"; |
||
28 | public const RELATION_TYPE_BLOCKED = "blocked"; |
||
29 | public const RELATION_TYPE_PRECEDES = "precedes"; |
||
30 | public const RELATION_TYPE_FOLLOWS = "follows"; |
||
31 | public const RELATION_TYPE_COPIED_TO = "copied_to"; |
||
32 | public const RELATION_TYPE_COPIED_FROM = "copied_from"; |
||
33 | |||
34 | protected int $issue_id; |
||
35 | protected int $issue_to_id; |
||
36 | protected string $relation_type = self::RELATION_TYPE_RELATES; |
||
37 | |||
38 | public static function getRepositoryClass(): ?string |
||
43 |