OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
25
app/Domain/Tickets/Models/BoardSummary.php
Normal file
25
app/Domain/Tickets/Models/BoardSummary.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Leantime\Domain\Tickets\Models;
|
||||
|
||||
use Carbon\CarbonImmutable;
|
||||
|
||||
/**
|
||||
* At-a-glance metrics for a task board, computed from the tickets currently on
|
||||
* screen (so the numbers always reflect the active filters). Rendered in the
|
||||
* page-header sub-line.
|
||||
*/
|
||||
class BoardSummary
|
||||
{
|
||||
/** Total tasks on the board. */
|
||||
public int $total = 0;
|
||||
|
||||
/** Tasks with no assignee (editorId). */
|
||||
public int $unassigned = 0;
|
||||
|
||||
/** Tasks whose due date falls between today and the end of the current week. */
|
||||
public int $dueThisWeek = 0;
|
||||
|
||||
/** Most recent change on the board (max ticket modified date), null if none. */
|
||||
public ?CarbonImmutable $lastUpdated = null;
|
||||
}
|
||||
Reference in New Issue
Block a user