merge branches

This commit is contained in:
amirrezaghabeli
2025-08-18 08:28:18 +03:30
parent 0a54b613cd
commit 36f66bfca5
48 changed files with 2348 additions and 613 deletions
@@ -0,0 +1,23 @@
// ignore_for_file: invalid_annotation_target
import 'package:freezed_annotation/freezed_annotation.dart';
part 'contact_person.freezed.dart';
part 'contact_person.g.dart';
@freezed
abstract class ContactPerson with _$ContactPerson {
const factory ContactPerson({
@JsonKey(name: 'first_name') required String? firstName,
@JsonKey(name: 'last_name') required String? lastName,
@JsonKey(name: 'full_name') required String? fullName,
required String? position,
required String? email,
required String? phone,
required String? mobile,
@JsonKey(name: 'is_primary') required bool? isPrimary,
}) = _ContactPerson;
factory ContactPerson.fromJson(Map<String, Object?> json) =>
_$ContactPersonFromJson(json);
}