Added Task number

This commit is contained in:
2026-02-21 21:37:36 +08:00
parent 8bb69a80af
commit 6238c701c0
7 changed files with 272 additions and 14 deletions
+3
View File
@@ -6,6 +6,7 @@ class Task {
Task({
required this.id,
required this.ticketId,
required this.taskNumber,
required this.title,
required this.description,
required this.officeId,
@@ -28,6 +29,7 @@ class Task {
final String id;
final String? ticketId;
final String? taskNumber;
final String title;
final String description;
final String? officeId;
@@ -55,6 +57,7 @@ class Task {
return Task(
id: map['id'] as String,
ticketId: map['ticket_id'] as String?,
taskNumber: map['task_number'] as String?,
title: map['title'] as String? ?? 'Task',
description: map['description'] as String? ?? '',
officeId: map['office_id'] as String?,