OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
24
app/Core/WorkStructure/Models/RelationshipDefinition.php
Normal file
24
app/Core/WorkStructure/Models/RelationshipDefinition.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Leantime\Core\WorkStructure\Models;
|
||||
|
||||
/**
|
||||
* RelationshipDefinition model — defines intra-structure relationships
|
||||
* (e.g., "task belongs_to milestone").
|
||||
*/
|
||||
class RelationshipDefinition
|
||||
{
|
||||
public ?int $id = null;
|
||||
|
||||
public int $structureId = 0;
|
||||
|
||||
public int $fromElementId = 0;
|
||||
|
||||
public int $toElementId = 0;
|
||||
|
||||
public string $relationshipType = '';
|
||||
|
||||
public string $description = '';
|
||||
|
||||
public ?string $meta = null;
|
||||
}
|
||||
Reference in New Issue
Block a user