OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
28
app/Core/WorkStructure/Events/StructureRegistered.php
Normal file
28
app/Core/WorkStructure/Events/StructureRegistered.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace Leantime\Core\WorkStructure\Events;
|
||||
|
||||
use Illuminate\Broadcasting\InteractsWithSockets;
|
||||
use Illuminate\Foundation\Events\Dispatchable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
/**
|
||||
* Fired when a new work structure is registered.
|
||||
*/
|
||||
class StructureRegistered
|
||||
{
|
||||
use Dispatchable, InteractsWithSockets, SerializesModels;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param int $structureId The registered structure ID
|
||||
* @param string $title The structure title
|
||||
* @param string $type The structure type (system, plugin, custom)
|
||||
*/
|
||||
public function __construct(
|
||||
public int $structureId,
|
||||
public string $title,
|
||||
public string $type
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user