feat-tickets (#14)
Some checks failed
Deploy to Cloudflare Pages / build-and-deploy (push) Has been cancelled
Some checks failed
Deploy to Cloudflare Pages / build-and-deploy (push) Has been cancelled
Reviewed-on: #14 Co-authored-by: mark-cachy <marco@catelli.it> Co-committed-by: mark-cachy <marco@catelli.it>
This commit is contained in:
@@ -7,6 +7,7 @@ class AttachmentModel extends Equatable {
|
||||
final DateTime? createdAt;
|
||||
final String? customerId;
|
||||
final String? operationId;
|
||||
final String? ticketId;
|
||||
final String name;
|
||||
final String extension;
|
||||
final String? storagePath;
|
||||
@@ -19,6 +20,7 @@ class AttachmentModel extends Equatable {
|
||||
this.createdAt,
|
||||
this.customerId,
|
||||
this.operationId,
|
||||
this.ticketId,
|
||||
required this.name,
|
||||
required this.extension,
|
||||
this.storagePath,
|
||||
@@ -33,6 +35,7 @@ class AttachmentModel extends Equatable {
|
||||
createdAt,
|
||||
customerId,
|
||||
operationId,
|
||||
ticketId,
|
||||
name,
|
||||
extension,
|
||||
storagePath,
|
||||
@@ -59,6 +62,7 @@ class AttachmentModel extends Equatable {
|
||||
DateTime? createdAt,
|
||||
String? customerId,
|
||||
String? operationId,
|
||||
String? ticketId,
|
||||
String? name,
|
||||
String? extension,
|
||||
String? storagePath,
|
||||
@@ -70,6 +74,7 @@ class AttachmentModel extends Equatable {
|
||||
createdAt: createdAt ?? this.createdAt,
|
||||
customerId: customerId ?? this.customerId,
|
||||
operationId: operationId ?? this.operationId,
|
||||
ticketId: ticketId ?? this.ticketId,
|
||||
name: name ?? this.name,
|
||||
extension: extension ?? this.extension,
|
||||
storagePath: storagePath ?? this.storagePath,
|
||||
@@ -86,6 +91,7 @@ class AttachmentModel extends Equatable {
|
||||
: null,
|
||||
customerId: map['customer_id'] as String?,
|
||||
operationId: map['operation_id'] as String?,
|
||||
ticketId: map['ticket_id'] as String?,
|
||||
name: map['name'] as String,
|
||||
extension: map['extension'] as String,
|
||||
storagePath: map['storage_path'] as String?,
|
||||
@@ -104,6 +110,7 @@ class AttachmentModel extends Equatable {
|
||||
'storage_path': storagePath,
|
||||
'customer_id': customerId,
|
||||
'operation_id': operationId,
|
||||
'ticket_id': ticketId,
|
||||
'file_size': fileSize,
|
||||
'company_id': companyId,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user