This commit is contained in:
2026-05-18 19:20:38 +02:00
parent 1ee4a3bf45
commit ecb161bc07
9 changed files with 317 additions and 105 deletions

View File

@@ -44,6 +44,15 @@ class CustomerModel extends Equatable {
attachments,
];
factory CustomerModel.empty() => CustomerModel(
name: '',
phoneNumber: '',
email: '',
note: '',
companyId:
'', // Dovrebbe essere sempre fornito, ma lasciamo vuoto per sicurezza
);
CustomerModel copyWith({
String? id,
DateTime? createdAt,